mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 22:19:04 +08:00
Link errors in debug build affect windows as well
This commit is contained in:
parent
55e4b48642
commit
1238b40f14
@ -216,7 +216,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||||||
target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES})
|
target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (SLIC3R_STATIC AND UNIX)
|
if (SLIC3R_STATIC)
|
||||||
# FIXME: This was previously exported by wx-config but the wxWidgets
|
# FIXME: This was previously exported by wx-config but the wxWidgets
|
||||||
# cmake build forgets this and the build fails in debug mode (or on raspberry release)
|
# cmake build forgets this and the build fails in debug mode (or on raspberry release)
|
||||||
target_compile_definitions(libslic3r_gui PUBLIC -DwxDEBUG_LEVEL=0)
|
target_compile_definitions(libslic3r_gui PUBLIC -DwxDEBUG_LEVEL=0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user