Disable wxWidgets bundled NanoSVG to avoid duplicate symbols

wxWidgets 3.3 bundles its own NanoSVG in bmpsvg.cpp, conflicting with
OrcaSlicer's bundled copy which includes the nsvgRasterizeXY extension.
Set wxUSE_NANOSVG=OFF in deps cmake to use OrcaSlicer's version only.
This commit is contained in:
SoftFever
2026-03-25 11:38:10 +08:00
parent ed88cbe3f5
commit 7658cf9076

View File

@@ -53,6 +53,7 @@ orcaslicer_add_cmake_project(
-DwxUSE_LIBJPEG=sys
-DwxUSE_LIBTIFF=OFF
-DwxUSE_EXPAT=sys
-DwxUSE_NANOSVG=OFF
)
if (MSVC)