Browse Source

cmake: fix FindSystemd.cmake

Apparently, recent version of CMake made PkgConfig stuff scooped and we
need to call find_package(PkgConfig) in FindSystemd.cmake too, the call
in FindLibtorrentRasterbar.cmake, that is always used first, is not
enough now.
adaptive-webui-19844
Eugene Shalygin 8 years ago
parent
commit
15ef4fcc56
  1. 3
      cmake/Modules/FindSystemd.cmake

3
cmake/Modules/FindSystemd.cmake

@ -3,6 +3,9 @@ @@ -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)

Loading…
Cancel
Save