From 548e5bf0c3ba47fa56b1c024bbcd139d69a03e42 Mon Sep 17 00:00:00 2001 From: Carbenium Date: Sat, 26 Jun 2021 12:58:52 +0200 Subject: 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) --- cmake/macros/ConfigureBaseTargets.cmake | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'cmake/macros') 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 -- cgit v1.2.3