We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95d65d commit 1093c0fCopy full SHA for 1093c0f
cmake/systemd.cmake
@@ -76,9 +76,11 @@ MACRO(CHECK_SYSTEMD)
76
UNSET(HAVE_SYSTEMD_SD_NOTIFYF)
77
MESSAGE(STATUS "Systemd features not enabled")
78
IF(WITH_SYSTEMD STREQUAL "yes")
79
- MESSAGE(FATAL_ERROR "Requested WITH_SYSTEMD=YES however no dependencies installed/found")
+ MESSAGE(FATAL_ERROR "Requested WITH_SYSTEMD=yes however no dependencies installed/found")
80
ENDIF()
81
82
+ ELSEIF(NOT WITH_SYSTEMD STREQUAL "no")
83
+ MESSAGE(FATAL_ERROR "Invalid value for WITH_SYSTEMD. Must be 'yes', 'no', or 'auto'.")
84
85
86
ENDMACRO()
0 commit comments