Misc: removed some obsolete cmake target checks

This commit is contained in:
Ovahlord committed 2023-06-05 14:43:06 +02:00
1 parent 40ec92758c
commit d4160ed9eb
1 file changed
+2 -15
+2 -15
View File
@@ -12,27 +12,14 @@
add_library(trinity-compile-option-interface INTERFACE) add_library(trinity-compile-option-interface INTERFACE)
# Use -std=c++11 instead of -std=gnu++11 # 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 # An interface library to make the target features available to other targets
add_library(trinity-feature-interface INTERFACE) add_library(trinity-feature-interface INTERFACE)
target_compile_features(trinity-feature-interface target_compile_features(trinity-feature-interface
INTERFACE INTERFACE
cxx_std_17 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)
# An interface library to make the warnings level available to other targets # An interface library to make the warnings level available to other targets
# This interface taget is set-up through the platform specific script # This interface taget is set-up through the platform specific script