ncdc/CMakeLists.txt

17 lines
446 B
CMake
Raw Normal View History

2019-06-15 21:33:46 +02:00
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
2019-06-26 10:48:55 +02:00
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
2019-06-15 21:33:46 +02:00
FIND_PACKAGE(PkgConfig)
FIND_PACKAGE(Threads)
PKG_CHECK_MODULES(JANSSON REQUIRED jansson)
PKG_CHECK_MODULES(CURL REQUIRED libcurl)
PKG_CHECK_MODULES(EVENT REQUIRED libevent libevent_pthreads)
PKG_CHECK_MODULES(GLIB2 REQUIRED glib-2.0)
ADD_DEFINITIONS("-Wall -Werror -std=c11 -D_GNU_SOURCE")
2019-06-25 14:52:38 +02:00
ADD_SUBDIRECTORY(libdc)
ADD_SUBDIRECTORY(ncdc)