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