X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=ed47ba32766625792e3a3b7d2ca348c7e3f834c5;hb=HEAD;hp=2355ebe1c8b682d358f15734adf0a9f899c51e29;hpb=810840e09b049f96ac706abb1cd7d4fb8f1c03a2;p=onak.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 2355ebe..ed47ba3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR) -project(onak VERSION 0.6.2 LANGUAGES C) +project(onak VERSION 0.6.3 LANGUAGES C) include(CheckSymbolExists) include(FindPkgConfig) @@ -93,6 +93,12 @@ if (GMP_FOUND) CHECK_SYMBOL_EXISTS(nettle_get_secp_521r1 "nettle/ecc-curve.h" HAVE_NETTLE_GET_SECP_521R1) endif() +# keyd will use this for socket activation, if it's available +pkg_check_modules(SYSTEMD libsystemd) +if (SYSTEMD_FOUND) + set(HAVE_SYSTEMD true) +endif() + # Build files that have substitutions in them include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}) configure_file("${CMAKE_SOURCE_DIR}/build-config.h.in"