From 36be7ae962cdf1fee089e7f79a71cbed9f0e2d31 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 8 Dec 2025 11:47:18 -0500 Subject: [PATCH] Revert "Need to build static lib, but NOT shared_lib for Cxx. Add it to linked libraries" This reverts commit 002cf2dbdf3901ddec1d7a150df78b01f4611bfb. --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b295b883..fc24243fb 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_SHARED_LIBS "OFF") +set(CxxUrl_BUILD_STATIC_LIBS "OFF") list(APPEND ZM_BIN_LIBS chmike::CxxUrl) # libjwt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 78f361051..d26277a7b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -163,7 +163,6 @@ target_link_libraries(zm FFMPEG::swscale libbcrypt::bcrypt RtspServer::RtspServer - chmike::CxxUrl martinmoene::span-lite ${ZM_BIN_LIBS} PRIVATE