mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 16:20:49 +08:00
Require C++14 for GUI
This commit is contained in:
parent
9d7d83990e
commit
f20128bf4a
@ -220,7 +220,7 @@ IF(wxWidgets_FOUND)
|
||||
${GUI_LIBDIR}/Settings.cpp
|
||||
${GUI_LIBDIR}/misc_ui.cpp
|
||||
)
|
||||
target_compile_features(slic3r_gui PUBLIC cxx_std_11)
|
||||
target_compile_features(slic3r_gui PUBLIC cxx_std_14)
|
||||
#only build GUI lib if building with wx
|
||||
target_link_libraries (slic3r slic3r_gui ${wxWidgets_LIBRARIES})
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_WX")
|
||||
|
Loading…
x
Reference in New Issue
Block a user