fix(stable): wxUSE_NANOSVG=OFF gegen nsvg ODR/LNK2005 auf MSVC (wie 2.4)

This commit is contained in:
thysson2701
2026-06-13 03:54:04 +02:00
parent 57101247e9
commit b82162bfef

View File

@@ -66,6 +66,9 @@ orcaslicer_add_cmake_project(
-DwxUSE_LIBJPEG=sys
-DwxUSE_LIBTIFF=OFF
-DwxUSE_EXPAT=sys
# wx 3.3 bundles nanosvg; OrcaSlicer's BitmapCache also defines nsvg
# symbols -> ODR/LNK2005 on MSVC. Disable wx's copy (as in 2.4).
-DwxUSE_NANOSVG=OFF
)
# wxWidgets 3.3 cmake install doesn't include private headers.