Set default c++ standard to 17 [skip ci]

This commit is contained in:
一线灵|Deal 2022-10-05 13:20:04 +08:00 committed by GitHub
parent fe094f35c4
commit 8968a949da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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