feat(CMake): enable optional C++20 support (#7075)

This commit is contained in:
Kargatum 2021-07-25 06:54:02 +07:00 committed by GitHub
parent 608e01d59c
commit 7f6e9b1984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 25 deletions

View file

@ -84,3 +84,6 @@ endif()
# Source tree in IDE
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical)
# If disable - use c++17
option(USE_CPP_20 "Enable c++20 standard" 0)