diff options
author | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
---|---|---|
committer | Astonex <softukitu@gmail.com> | 2013-07-31 23:02:09 +0100 |
commit | f05aa308701f33f3bf9df022a4b376deeedef235 (patch) | |
tree | c10b8a3cca6822400853bfd3bc2c5fd1cca73f83 /other/bootstrap_serverdaemon/CMakeLists.txt | |
parent | 8dfba27242ca23fca5de852541f2101568dbf7cb (diff) | |
parent | c558cb63f6db35bd51f2f2331e21df03105ee82a (diff) |
Merge remote-tracking branch 'ProjectTox/master'
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) | ||