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