fix(stable): wxUSE_NANOSVG=OFF gegen nsvg ODR/LNK2005 auf MSVC (wie 2.4)
This commit is contained in:
3
deps/wxWidgets/wxWidgets.cmake
vendored
3
deps/wxWidgets/wxWidgets.cmake
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user