I fixed it wrong, this should work
This commit is contained in:
parent
147496ba7a
commit
8e2d6b0fd4
|
@ -82,11 +82,11 @@ IF (CHECK_FOUND AND NOT WIN32)
|
|||
target_link_libraries(test_util ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(test_util test_util)
|
||||
|
||||
add_executable(test_linkedlist test/check_linkedlist src/linkedlist src/linkedlist)
|
||||
add_executable(test_linkedlist test/check_linkedlist src/linkedlist src/util)
|
||||
target_link_libraries(test_linkedlist ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(test_linkedlist test_linkedlist)
|
||||
|
||||
add_executable(test_hashtable test/check_hashtable src/hashtable src/linkedlist)
|
||||
add_executable(test_hashtable test/check_hashtable src/hashtable src/util)
|
||||
target_link_libraries(test_hashtable ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_test(test_hashtable test_hashtable)
|
||||
ENDIF (CHECK_FOUND AND NOT WIN32)
|
||||
|
|
Loading…
Reference in New Issue