From d4160ed9eb052543f89b01d4449a94bb160054f1 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 5 Jun 2023 14:43:06 +0200 Subject: [PATCH] Misc: removed some obsolete cmake target checks --- cmake/macros/ConfigureBaseTargets.cmake | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/cmake/macros/ConfigureBaseTargets.cmake b/cmake/macros/ConfigureBaseTargets.cmake index 332af13c2e..52322c62f4 100644 --- a/cmake/macros/ConfigureBaseTargets.cmake +++ b/cmake/macros/ConfigureBaseTargets.cmake @@ -12,27 +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_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