Merge pull request #1137 from jagerman/fix-cmake-linux-var-1½

if(LINUX) doesn't work; just try to find libsystemd gently instead
pull/1139/head
Jason Rhinelander 5 years ago committed by GitHub
commit 83fc2c9c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -226,7 +226,8 @@ if(JEMALLOC)
endif(JEMALLOC)
if (LINUX)
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
pkg_check_modules(SD libsystemd)
# Default WITH_SYSTEMD to true if we found it
option(WITH_SYSTEMD "enable systemd integration for sd_notify" ${SD_FOUND})

Loading…
Cancel
Save