diff options
Diffstat (limited to 'other/bootstrap_serverdaemon/CMakeLists.txt')
-rw-r--r-- | other/bootstrap_serverdaemon/CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/other/bootstrap_serverdaemon/CMakeLists.txt b/other/bootstrap_serverdaemon/CMakeLists.txt index 6aa4dbee..512179f3 100644 --- a/other/bootstrap_serverdaemon/CMakeLists.txt +++ b/other/bootstrap_serverdaemon/CMakeLists.txt | |||
@@ -3,8 +3,17 @@ project(DHT_bootstrap_daemon C) | |||
3 | 3 | ||
4 | set(exe_name DHT_bootstrap_daemon) | 4 | set(exe_name DHT_bootstrap_daemon) |
5 | 5 | ||
6 | find_package(LIBCONFIG REQUIRED) | ||
7 | |||
8 | include_directories(${LIBCONFIG_INCLUDE_DIR}) | ||
9 | |||
6 | add_executable(${exe_name} | 10 | add_executable(${exe_name} |
7 | DHT_bootstrap_daemon.c) | 11 | DHT_bootstrap_daemon.c) |
12 | |||
13 | target_link_libraries(${exe_name} | ||
14 | ${LIBCONFIG_LIBRARY}) | ||
8 | 15 | ||
9 | target_link_libraries(${exe_name} config) | ||
10 | linkCoreLibraries(${exe_name}) | 16 | linkCoreLibraries(${exe_name}) |
17 | |||
18 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules") | ||
19 | find_package(LibConfig REQUIRED) | ||