Use C++11 by default for CLion IDE based projects // Resolve #873

This commit is contained in:
Ivan Kravets committed 2017-01-12 20:07:28 +02:00
1 parent 87f3cbdda7
commit fb2f1d3553
3 files changed
+4 -1

No files matched your search

@@ -5,6 +5,7 @@ SET(CMAKE_C_COMPILER "{{cc_path.replace("\\", "/")}}")
SET(CMAKE_CXX_COMPILER "{{cxx_path.replace("\\", "/")}}")
SET(CMAKE_CXX_FLAGS_DISTRIBUTION "{{cxx_flags}}")
SET(CMAKE_C_FLAGS_DISTRIBUTION "{{cc_flags}}")
set(CMAKE_CXX_STANDARD 11)
% for define in defines:
add_definitions(-D{{!define}})