From 8640c860d20ce5722de805660e9a7035034be921 Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Thu, 28 Feb 2019 17:31:16 -0500 Subject: [PATCH] Including pthread in build --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 80030aa..9431065 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -44,7 +44,7 @@ foreach(testSrc ${TEST_SRCS}) add_executable(${testName} ${testSrc}) #link to Boost libraries AND your targets and dependencies - target_link_libraries(${testName} ${Boost_LIBRARIES} epanet2 epanet-output) + target_link_libraries(${testName} ${Boost_LIBRARIES} pthread epanet2 epanet-output) #Finally add it to test execution #Notice the WORKING_DIRECTORY and COMMAND