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