Skip to content

Commit ef7e986

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6120d26 commit ef7e986

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ endif()
251251
set(ZM_USE_SYSTEM_JWT_CPP "OFF" CACHE BOOL
252252
"Set to ON to use system-installed jwt-cpp instead of the vendored version. default: OFF")
253253

254+
if(ZM_USE_SYSTEM_JWT_CPP AND NOT (ZM_JWT_BACKEND STREQUAL "jwt_cpp"))
255+
message(WARNING "ZM_USE_SYSTEM_JWT_CPP is set but will be ignored because ZM_JWT_BACKEND is not jwt_cpp")
256+
endif()
254257
if((ZM_TARGET_DISTRO MATCHES "^el") OR (ZM_TARGET_DISTRO MATCHES "^fc"))
255258
set(ZM_RUNDIR "/run/zoneminder")
256259
set(ZM_SOCKDIR "/var/lib/zoneminder/sock")

0 commit comments

Comments
 (0)