diff options
author | Hefee <hefee@netzguerilla.net> | 2016-02-05 16:14:07 +0300 |
---|---|---|
committer | Hefee <hefee@netzguerilla.net> | 2016-02-05 16:14:07 +0300 |
commit | aa8b772bff090f7c8b8afdf0dead108901ee0f78 (patch) | |
tree | 255b52b8efe9439d8499074f34dfa8d364a04bca /cmake | |
parent | dd76d72d616d0fa8591273ca6356aa71375421d1 (diff) |
Don't install tests and cmocka lib.
Neither tests nor the libcmocka needs to be installed globally.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddCMockaTest.cmake | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cmake/modules/AddCMockaTest.cmake b/cmake/modules/AddCMockaTest.cmake index 1b7886579..b2d1ca8a4 100644 --- a/cmake/modules/AddCMockaTest.cmake +++ b/cmake/modules/AddCMockaTest.cmake @@ -20,15 +20,4 @@ function (ADD_CMOCKA_TEST _testName _testSource) add_executable(${_testName} ${_testSource}) target_link_libraries(${_testName} ${ARGN}) add_test(${_testName} ${CMAKE_CURRENT_BINARY_DIR}/${_testName}) - - if(UNIT_TESTING) - INSTALL( - TARGETS - ${_testName} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - ) - endif(UNIT_TESTING) - endfunction (ADD_CMOCKA_TEST) |