Need to build static lib, but NOT shared_lib for Cxx. Add it to linked libraries

This commit is contained in:
Isaac Connor
2025-11-11 13:00:28 -05:00
parent 3151f0ab16
commit d4be5f7f61
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -163,6 +163,7 @@ target_link_libraries(zm
FFMPEG::swscale
libbcrypt::bcrypt
RtspServer::RtspServer
chmike::CxxUrl
martinmoene::span-lite
${ZM_BIN_LIBS}
PRIVATE