hopefully fix pthread linker issue...
This commit is contained in:
parent
eae1b48b28
commit
47256a60af
1 changed files with 3 additions and 3 deletions
|
@ -26,15 +26,15 @@ set(INDEX_CC_FILES "${INDEX_CC_FILES}" "src/ranges/range_base.cc")
|
|||
set(MA_CC_FILES "${MA_CC_FILES}" "${INDEX_CC_FILES}" "src/operation_utils.cc")
|
||||
|
||||
add_executable(iutest src/ranges/tests/index_unit_test.cc ${INDEX_CC_FILES})
|
||||
target_link_libraries(iutest ${GTEST_BOTH_LIBRARIES})
|
||||
target_link_libraries(iutest ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(NAME iutest COMMAND iutest)
|
||||
|
||||
add_executable(mautest src/tests/ma_unit_test.cc ${MA_CC_FILES})
|
||||
target_link_libraries(mautest ${GTEST_BOTH_LIBRARIES})
|
||||
target_link_libraries(mautest ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(NAME mautest COMMAND mautest)
|
||||
|
||||
add_executable(oputest src/tests/op_unit_test.cc ${MA_CC_FILES})
|
||||
target_link_libraries(oputest ${GTEST_BOTH_LIBRARIES})
|
||||
target_link_libraries(oputest ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(NAME oputest COMMAND oputest)
|
||||
|
||||
#install(TARGETS testm DESTINATION install)
|
||||
|
|
Loading…
Reference in a new issue