Update pingcheck to work with cmake 3.28
[pingcheck] / test / CMakeLists.test_loglevel.txt
CommitLineData
7ca853fe
GMF
1# compiler: creates the binaries
2add_executable(test_loglevel
3 test_loglevel.cpp
780b0bca 4 ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
7ca853fe
GMF
5 ${CMAKE_SOURCE_DIR}/src/host/loglevel.cpp
6)
7
8# linker: link the program against the libraries
9target_link_libraries(
10 test_loglevel
11 ${I2NCOMMON_LIBRARIES}
60dcabeb
L
12 Boost::unit_test_framework
13 Boost::system
14 Boost::program_options
15 Boost::date_time
16 Boost::serialization
ed146945 17 pthread
7ca853fe
GMF
18)
19
20# cmake: invocation via "make test"
21add_test(test_loglevel test_loglevel)