File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ option(BUILD_ESP "Build for esp" OFF)
5
5
option (BUILD_EMULATOR "Build for emulator" OFF )
6
6
option (BUILD_UNITTEST "Build for testing" OFF )
7
7
8
+ # Use C++17
9
+ set (CMAKE_CXX_STANDARD 17)
10
+
8
11
if (ESP_PLATFORM)
9
12
set (BUILD_ESP ON )
10
13
endif ()
@@ -57,9 +60,6 @@ if (BUILD_EMULATOR)
57
60
add_definitions (-DTRACE=0)
58
61
add_definitions (-DWARN=0)
59
62
60
- # Use C++11
61
- set (CMAKE_CXX_STANDARD 11)
62
-
63
63
# Set default compile flags for GCC
64
64
if (CMAKE_COMPILER_IS_GNUCXX)
65
65
add_compile_options (-g -v -Wall -Wextra -Wunused)
@@ -94,9 +94,6 @@ if (BUILD_UNITTEST)
94
94
src/Edward/proxy_supervisor.cpp
95
95
src/Edward/RFC.cpp)
96
96
97
- # Use C++11
98
- set (CMAKE_CXX_STANDARD 11)
99
-
100
97
# Set default compile flags for GCC
101
98
if (CMAKE_COMPILER_IS_GNUCXX)
102
99
add_compile_options (-g -v -Wall -Wextra -Wunused)
You can’t perform that action at this time.
0 commit comments