convert polkit FATAL_ERROR to a WARNING so that codeQL will build

This commit is contained in:
Isaac Connor 2020-10-02 10:33:42 -04:00
parent 0bcf7cc3c5
commit 7f06920f4a
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ if(WITH_SYSTEMD)
# Check for polkit
find_package(Polkit)
if(NOT POLKIT_FOUND)
message(FATAL_ERROR
message(WARNING
"Running ZoneMinder requires polkit. Building ZoneMinder requires the polkit development package.")
endif(NOT POLKIT_FOUND)
endif(WITH_SYSTEMD)