I fixed it wrong, this should work

This commit is contained in:
Linus Probert 2018-01-23 23:09:12 +01:00
parent 147496ba7a
commit 8e2d6b0fd4
1 changed files with 2 additions and 2 deletions

View File

@ -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)