mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 01:06:03 +03:00
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.
This commit is contained in:
parent
ce36a7ca62
commit
15ef4fcc56
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue