diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 686cc3c2f..e252e72d1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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")