aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2021-06-26 12:58:52 +0200
committerPeter Keresztes Schmidt <carbenium@outlook.com>2021-06-28 00:43:39 +0200
commit0ea73a29050493f53efa2101dc94c2bab302ac06 (patch)
tree66719c6b38f4c36cb892c574556186ec9cef315f /cmake
parent74468e6d51143c01780fca224bb654d5818b8ee6 (diff)
Build: Remove fine-grained CXX feature checks
With C++17 enabled these don't serve an purpose anymore. See https://cmake.org/cmake/help/latest/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html
Diffstat (limited to 'cmake')
-rw-r--r--cmake/macros/ConfigureBaseTargets.cmake15
1 files changed, 1 insertions, 14 deletions
diff --git a/cmake/macros/ConfigureBaseTargets.cmake b/cmake/macros/ConfigureBaseTargets.cmake
index 95adb992b1a..7710b0e2911 100644
--- a/cmake/macros/ConfigureBaseTargets.cmake
+++ b/cmake/macros/ConfigureBaseTargets.cmake
@@ -19,20 +19,7 @@ add_library(trinity-feature-interface INTERFACE)
target_compile_features(trinity-feature-interface
INTERFACE
- cxx_std_17
- cxx_alias_templates
- cxx_auto_type
- cxx_constexpr
- cxx_decltype
- cxx_decltype_auto
- cxx_final
- cxx_lambdas
- cxx_generic_lambdas
- cxx_variadic_templates
- cxx_defaulted_functions
- cxx_nullptr
- cxx_trailing_return_types
- cxx_return_type_deduction)
+ cxx_std_17)
# An interface library to make the warnings level available to other targets
# This interface taget is set-up through the platform specific script