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

@@ -1,4 +1,10 @@
set(_options "")
if (MSVC AND DEP_DEBUG)
set(_options "FORWARD_CONFIG")
endif ()
orcaslicer_add_cmake_project(Draco
${_options}
URL https://github.com/google/draco/archive/refs/tags/1.5.7.zip
URL_HASH SHA256=27b72ba2d5ff3d0a9814ad40d4cb88f8dc89a35491c0866d952473f8f9416b77
)