Including pthread in build

This commit is contained in:
Michael Tryby
2019-02-28 17:31:16 -05:00
parent 0d30d2c6a8
commit 8640c860d2

View File

@@ -44,7 +44,7 @@ foreach(testSrc ${TEST_SRCS})
add_executable(${testName} ${testSrc}) add_executable(${testName} ${testSrc})
#link to Boost libraries AND your targets and dependencies #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 #Finally add it to test execution
#Notice the WORKING_DIRECTORY and COMMAND #Notice the WORKING_DIRECTORY and COMMAND