From 89dd7ed0111d2aebe5d362052f8582bfc17c7cbc Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 30 Jul 2013 22:41:51 +0400 Subject: Add detection of required libraries --- other/bootstrap_serverdaemon/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'other/bootstrap_serverdaemon/CMakeLists.txt') diff --git a/other/bootstrap_serverdaemon/CMakeLists.txt b/other/bootstrap_serverdaemon/CMakeLists.txt index 57ba4841..a9cfdff7 100644 --- a/other/bootstrap_serverdaemon/CMakeLists.txt +++ b/other/bootstrap_serverdaemon/CMakeLists.txt @@ -3,10 +3,14 @@ project(DHT_bootstrap_daemon C) set(exe_name DHT_bootstrap_daemon) +find_package(LIBCONFIG REQUIRED) + +include_directories(${LIBCONFIG_INCLUDE_DIR}) + add_executable(${exe_name} DHT_bootstrap_daemon.c) target_link_libraries(${exe_name} - config) + ${LIBCONFIG_LIBRARY}) linkCoreLibraries(${exe_name}) -- cgit v1.2.3