Update CMakeLists to use C++ 20
This commit is contained in:
parent
a47ac5fcaf
commit
5b34e9de0f
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ endif()
|
||||||
configure_file(include/Version.h.in Version.generated.h)
|
configure_file(include/Version.h.in Version.generated.h)
|
||||||
|
|
||||||
# Specify the C++ standard
|
# Specify the C++ standard
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
|
||||||
# Explicitly list source files
|
# Explicitly list source files
|
||||||
|
|
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
|
||||||
project(HarmonyLinkTest)
|
project(HarmonyLinkTest)
|
||||||
|
|
||||||
# Specify the C++ standard
|
# Specify the C++ standard
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
|
||||||
# Automatically add all .cpp and .h/.hpp files in the src directory
|
# Automatically add all .cpp and .h/.hpp files in the src directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue