Skip to content

Commit

Permalink
Fix cross-compilation for systemd files
Browse files Browse the repository at this point in the history
  • Loading branch information
ottok committed Jun 27, 2020
1 parent 141b390 commit 9fff91b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/systemd.cmake
Expand Up @@ -17,6 +17,9 @@ MACRO(CHECK_SYSTEMD)
IF(UNIX)
INCLUDE(FindPkgConfig)
# http://www.cmake.org/cmake/help/v3.0/module/FindPkgConfig.html
INCLUDE(CheckFunctionExists)
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
SET(WITH_SYSTEMD "auto" CACHE STRING "Enable systemd scripts and notification support")
IF(WITH_SYSTEMD STREQUAL "yes" OR WITH_SYSTEMD STREQUAL "auto")
IF(PKG_CONFIG_FOUND)
Expand Down

0 comments on commit 9fff91b

Please sign in to comment.