Skip to content

Commit d15e1d2

Browse files
committed
cmake: Enforce C++17
1 parent da8f23e commit d15e1d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ if(CMAKE_VERSION VERSION_GREATER "3.12")
109109
cmake_policy(SET CMP0074 NEW)
110110
endif()
111111

112-
# Force C++ standard to be C++11 at least
113-
check_minimal_cxx_standard(11 ENFORCE)
112+
# Force C++ standard to be C++17 at least
113+
check_minimal_cxx_standard(17 ENFORCE)
114114

115115
# --- OPTIONS ----------------------------------------
116116
option(BUILD_BENCHMARK "Build the benchmarks" OFF)

0 commit comments

Comments
 (0)