mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
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:
1
deps/wxWidgets/wxWidgets.cmake
vendored
1
deps/wxWidgets/wxWidgets.cmake
vendored
@@ -53,6 +53,7 @@ orcaslicer_add_cmake_project(
|
|||||||
-DwxUSE_LIBJPEG=sys
|
-DwxUSE_LIBJPEG=sys
|
||||||
-DwxUSE_LIBTIFF=OFF
|
-DwxUSE_LIBTIFF=OFF
|
||||||
-DwxUSE_EXPAT=sys
|
-DwxUSE_EXPAT=sys
|
||||||
|
-DwxUSE_NANOSVG=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
|||||||
Reference in New Issue
Block a user