X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=e53ad465ca0687536b3264d762d969eee664c7d2;hp=2355ebe1c8b682d358f15734adf0a9f899c51e29;hb=a8f2e191cb35193cb49aca5a6ccdac2170c334a1;hpb=2d53b0b62dd6c230f25c5d66104e6b367390485a diff --git a/CMakeLists.txt b/CMakeLists.txt index 2355ebe..e53ad46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"