From 71950f6b8500a69186bb8853789436a8e4f42fa4 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 8 Sep 2026 12:24:12 +0500 Subject: [PATCH] cmake/svgfill: drop undocumented `USE_STATIC_MSVC_RUNTIME` option I've found this commit 4400a6e that was introducing this option to the main cmake, but I'm not sure if it ever was propagated to the main branch or was reverted inside one of the merges. But anyway, `USE_STATIC_MSVC_RUNTIME` is currently used only in svgfill, not used in the main cmake and works out of sync with main cmake (it sets `Boost_USE_STATIC_RUNTIME` to `OFF` instead of guard+setting it to `ON`). So removing this option and syncing the code. --- src/svgfill/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/svgfill/CMakeLists.txt b/src/svgfill/CMakeLists.txt index e860d094d1..6b2b3bc53a 100644 --- a/src/svgfill/CMakeLists.txt +++ b/src/svgfill/CMakeLists.txt @@ -12,10 +12,8 @@ endif() if(WIN32 AND NOT DEFINED ENV{CONDA_BUILD}) set(Boost_USE_STATIC_LIBS ON) + set(Boost_USE_STATIC_RUNTIME OFF) set(Boost_USE_MULTITHREADED ON) - if(USE_STATIC_MSVC_RUNTIME) - set(Boost_USE_STATIC_RUNTIME ON) - endif() else() # Disable Boost's autolinking as the libraries to be linked to are supplied # already by CMake, and it's going to conflict if there are multiple, as is