Merge pull request #6810 from evsh/cmake

cmake: fix FindSystemd.cmake
This commit is contained in:
Eugene Shalygin 2017-05-20 11:08:58 +02:00 committed by GitHub
commit 659dd3285b

View file

@ -3,6 +3,9 @@
# sets variables
# SYSTEMD_FOUND
# SYSTEMD_SERVICES_INSTALL_DIR
find_package(PkgConfig QUIET REQUIRED)
if (NOT SYSTEMD_FOUND)
pkg_check_modules(SYSTEMD "systemd")
endif(NOT SYSTEMD_FOUND)