Hotfix for debug builds with new wxWidgets in deps
This commit is contained in:
parent
3f958acdf9
commit
74e8e55fbc
1 changed files with 6 additions and 0 deletions
|
@ -216,6 +216,12 @@ 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)
|
||||||
|
# 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)
|
||||||
|
target_compile_definitions(libslic3r_gui PUBLIC -DwxDEBUG_LEVEL=0)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY})
|
target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue