convert polkit FATAL_ERROR to a WARNING so that codeQL will build
This commit is contained in:
parent
0bcf7cc3c5
commit
7f06920f4a
|
@ -842,7 +842,7 @@ if(WITH_SYSTEMD)
|
||||||
# Check for polkit
|
# Check for polkit
|
||||||
find_package(Polkit)
|
find_package(Polkit)
|
||||||
if(NOT POLKIT_FOUND)
|
if(NOT POLKIT_FOUND)
|
||||||
message(FATAL_ERROR
|
message(WARNING
|
||||||
"Running ZoneMinder requires polkit. Building ZoneMinder requires the polkit development package.")
|
"Running ZoneMinder requires polkit. Building ZoneMinder requires the polkit development package.")
|
||||||
endif(NOT POLKIT_FOUND)
|
endif(NOT POLKIT_FOUND)
|
||||||
endif(WITH_SYSTEMD)
|
endif(WITH_SYSTEMD)
|
||||||
|
|
Loading…
Reference in New Issue