Explicitly link pthread
[pingcheck] / test / CMakeLists.test_logoutput.txt
1 # compiler: creates the binaries
2 add_executable(test_logoutput
3     test_logoutput.cpp
4     ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5     ${CMAKE_SOURCE_DIR}/src/host/logoutput.cpp
6 )
7
8 # linker: link the program against the libraries
9 target_link_libraries(
10     test_logoutput
11     ${I2NCOMMON_LIBRARIES}
12     ${Boost_LIBRARIES}
13     pthread
14 )
15
16 # cmake: invocation via "make test"
17 add_test(test_logoutput test_logoutput)