From 520deb32cbd541dc58315def441b82560146cdfe Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Tue, 19 Nov 2024 11:20:10 +0100 Subject: [PATCH] cmake: Remove deprecated global CSTD property Remove the global CSTD property as it has been deprecated for 2 releases. Signed-off-by: Pieter De Gendt --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 88b2d77c3a4..59d91526bd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1039,14 +1039,6 @@ if(CONFIG_USERSPACE) set(PROCESS_GPERF ${ZEPHYR_BASE}/scripts/build/process_gperf.py) endif() -get_property(GLOBAL_CSTD GLOBAL PROPERTY CSTD) -if(DEFINED GLOBAL_CSTD) - message(DEPRECATION - "Global CSTD property is deprecated, see Kconfig.zephyr for C Standard options.") - set(CSTD ${GLOBAL_CSTD}) - list(APPEND CMAKE_C_COMPILE_FEATURES ${compile_features_${CSTD}}) -endif() - # @Intent: Obtain compiler specific flag for specifying the c standard zephyr_compile_options( $<$:$${CSTD}>