MINGW-packages/mingw-w64-editorconfig-qtcreator/editorconfig-qtcreator-0.3.6-set-cxx-standard.patch
2021-10-05 21:41:12 +03:00

15 lines
357 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42d8446..bbaac55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,3 +28,9 @@ add_qtc_plugin(EditorConfig
editorconfigwizard.h
editorconfigwizardpage.h editorconfigwizardpage.cpp
)
+
+set_target_properties(EditorConfig
+ PROPERTIES
+ CXX_STANDARD 17
+ CXX_STANDARD_REQUIRED True
+)