From 147496ba7a5b4451037ad6bd70bc9874a777b92a Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Tue, 23 Jan 2018 23:07:51 +0100 Subject: [PATCH] Fixed the CMake tests now that util is used --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4265f0..ca8aed8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) + add_executable(test_linkedlist test/check_linkedlist src/linkedlist src/linkedlist) 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) + add_executable(test_hashtable test/check_hashtable src/hashtable src/linkedlist) target_link_libraries(test_hashtable ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) add_test(test_hashtable test_hashtable) ENDIF (CHECK_FOUND AND NOT WIN32)