summaryrefslogtreecommitdiff
path: root/other/bootstrap_serverdaemon/CMakeLists.txt
blob: 512179f3ab64044a055e416d4305248e6d54a805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 2.6.0)
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}
	${LIBCONFIG_LIBRARY})

linkCoreLibraries(${exe_name})

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
find_package(LibConfig REQUIRED)