[cmake] Enable C++17 temporarily.

This commit is contained in:
Egor Pugin 2020-12-26 04:25:16 +03:00 committed by GitHub
parent 5388d1d6f1
commit 6a63b0e11e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)