File static_build.patch of Package orthanc-authorization

diff -rU 3 a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2025-04-01 16:10:19.000000000 +0200
+++ b/CMakeLists.txt	2025-04-14 10:23:02.892068806 +0200
@@ -32,7 +32,7 @@
 endif()
 
 # Parameters of the build
-set(STATIC_BUILD ON CACHE BOOL "Static build of the third-party libraries (necessary for Windows)")
+set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)")
 set(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages")
 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")")
 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"")
openSUSE Build Service is sponsored by