From ef7e986118e7a48b15d85acffca22173420ec2cd Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 4 Mar 2026 21:37:16 -0500 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f3f68e536..b0ba9ba8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,6 +251,9 @@ endif() set(ZM_USE_SYSTEM_JWT_CPP "OFF" CACHE BOOL "Set to ON to use system-installed jwt-cpp instead of the vendored version. default: OFF") +if(ZM_USE_SYSTEM_JWT_CPP AND NOT (ZM_JWT_BACKEND STREQUAL "jwt_cpp")) + message(WARNING "ZM_USE_SYSTEM_JWT_CPP is set but will be ignored because ZM_JWT_BACKEND is not jwt_cpp") +endif() if((ZM_TARGET_DISTRO MATCHES "^el") OR (ZM_TARGET_DISTRO MATCHES "^fc")) set(ZM_RUNDIR "/run/zoneminder") set(ZM_SOCKDIR "/var/lib/zoneminder/sock")