can build boost, draco, opencv as debug with msvc (#13921)

* can build boost, draco, opencv as debug with msvc

* only forward build configuration for MSVC and in Debug mode
This commit is contained in:
Tobias Gloth
2026-06-20 00:39:08 -04:00
committed by GitHub
parent 57cb60e20f
commit 4c149b69eb
4 changed files with 31 additions and 6 deletions

View File

@@ -10,7 +10,13 @@ if (APPLE AND CMAKE_OSX_ARCHITECTURES)
set(_context_arch_line "-DBOOST_CONTEXT_ARCHITECTURE:STRING=${CMAKE_OSX_ARCHITECTURES}")
endif ()
set(_options "")
if (MSVC AND DEP_DEBUG)
set(_options "FORWARD_CONFIG")
endif ()
orcaslicer_add_cmake_project(Boost
${_options}
URL "https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.gz"
URL_HASH SHA256=4d27e9efed0f6f152dc28db6430b9d3dfb40c0345da7342eaa5a987dde57bd95
LIST_SEPARATOR |