diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-01-01 00:26:53 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-08-12 14:24:30 +0200 |
commit | d0553d499b17b5e20640cea5187934ff0bcbc528 (patch) | |
tree | 86ac435c881ae0754f29fc34505ae425b784c9ec | |
parent | 97c977d0fba75183f58062f124402530a91dac9b (diff) |
Build: Enable C++20
(cherry picked from commit 989f84c5f2db4d1ea75e5b2020be6ef4bf770366)
-rw-r--r-- | cmake/macros/ConfigureBaseTargets.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/macros/ConfigureBaseTargets.cmake b/cmake/macros/ConfigureBaseTargets.cmake index 7710b0e2911..26878eec1ba 100644 --- a/cmake/macros/ConfigureBaseTargets.cmake +++ b/cmake/macros/ConfigureBaseTargets.cmake @@ -12,14 +12,14 @@ add_library(trinity-compile-option-interface INTERFACE) # Use -std=c++11 instead of -std=gnu++11 -set(CXX_EXTENSIONS OFF) +set(CMAKE_CXX_EXTENSIONS OFF) # An interface library to make the target features available to other targets add_library(trinity-feature-interface INTERFACE) target_compile_features(trinity-feature-interface INTERFACE - cxx_std_17) + cxx_std_20) # An interface library to make the warnings level available to other targets # This interface taget is set-up through the platform specific script |