From 5d6e4c971857b5e05d7c277e7eafcb9d64dbc6a7 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 17 Mar 2015 21:29:40 +0100 Subject: o An improved KeyDictionary. --- test/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e9f217f..e8dc219 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost COMPONENTS log unit_test_framework REQUIRED) +find_package(Boost COMPONENTS log regex unit_test_framework REQUIRED) # If we can change directory here add_definition and test-specific stuff could be moved to the test directory file(GLOB TEST_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *Test.cpp) @@ -18,6 +18,9 @@ foreach(testSrc ${TEST_SRCS}) target_link_libraries(${testName} pthread) target_link_libraries(${testName} ${Boost_LIBRARIES}) + include_directories("${PROJECT_SOURCE_DIR}/apps") + target_link_libraries(${testName} trygvis-apps) + #I like to move testing binaries into a testBin directory set_target_properties(${testName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/test) -- cgit v1.2.3