From 6a63b0e11ecde43ca3885273fc3d8965ff60c83b Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Sat, 26 Dec 2020 04:25:16 +0300 Subject: [PATCH] [cmake] Enable C++17 temporarily. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59e24877..efb2c5b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,6 +138,8 @@ endif() if ("${CMAKE_CXX14_STANDARD_COMPILE_OPTION}" STREQUAL "-std=c++1y") set(CMAKE_CXX_STANDARD 11) endif() +# temporarily +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF)