From d4be5f7f619adf474d6977e2fcbc0304e1505cae Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 11 Nov 2025 13:00:28 -0500 Subject: [PATCH] Need to build static lib, but NOT shared_lib for Cxx. Add it to linked libraries --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc24243fb..8b295b883 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -363,7 +363,7 @@ else() "ZoneMinder requires jpeg but it was not found on your system") endif() -set(CxxUrl_BUILD_STATIC_LIBS "OFF") +set(CxxUrl_BUILD_SHARED_LIBS "OFF") list(APPEND ZM_BIN_LIBS chmike::CxxUrl) # libjwt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d26277a7b..78f361051 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -163,6 +163,7 @@ target_link_libraries(zm FFMPEG::swscale libbcrypt::bcrypt RtspServer::RtspServer + chmike::CxxUrl martinmoene::span-lite ${ZM_BIN_LIBS} PRIVATE