Improve codebase to c++17

This commit is contained in:
halx99 2021-11-26 18:06:14 +08:00 committed by GitHub
parent e3f2bde738
commit 2ca99fce0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ endif()
# config c++ standard
if(NOT DEFINED CXX_STD)
set(CXX_STD 14)
set(CXX_STD 17)
endif()
message(STATUS "CXX_STD=${CXX_STD}")
set(CMAKE_CXX_STANDARD ${CXX_STD})