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)
This commit is contained in:
Carbenium
2022-03-11 13:53:43 +01:00
committed by Shauren
parent d4005fd56a
commit 548e5bf0c3
+1 -14
View File
@@ -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