diff options
author | Carbenium <carbenium@outlook.com> | 2021-06-26 12:58:52 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-11 13:53:43 +0100 |
commit | 548e5bf0c3ba47fa56b1c024bbcd139d69a03e42 (patch) | |
tree | a76a7410dd7571c9ae6ede26343551783fdf3240 | |
parent | d4005fd56a254c1a5bfa3403844036148b924567 (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
(cherry picked from commit 0ea73a29050493f53efa2101dc94c2bab302ac06)
-rw-r--r-- | cmake/macros/ConfigureBaseTargets.cmake | 15 |
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 |