From 4da88601d9b909b9351cb34afae73d155cdafe01 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Wed, 16 Oct 2019 10:42:05 +0100 Subject: [PATCH] Add getdns_server_mon to the build. --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d74046e..2c4c2baa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -491,6 +491,16 @@ add_executable(getdns_query src/tools/getdns_query.c) target_include_directories(getdns_query PRIVATE getdns) target_link_libraries(getdns_query PRIVATE getdns) +add_executable(getdns_server_mon src/tools/getdns_server_mon.c) +target_include_directories(getdns_server_mon + PRIVATE getdns + PRIVATE ${OPENSSL_INCLUDE_DIR} + ) +target_link_libraries(getdns_server_mon + PRIVATE getdns + PUBLIC ${OPENSSL_LIBRARIES} + ) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/include/cmakeconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/getdns/getdns.h.in ${CMAKE_CURRENT_BINARY_DIR}/getdns/getdns.h) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/getdns/getdns_extra.h.in ${CMAKE_CURRENT_BINARY_DIR}/getdns/getdns_extra.h)