From cf5d74e26cde92180f439da2368f563979c36621 Mon Sep 17 00:00:00 2001 From: Sugar Glider Date: Fri, 25 Apr 2025 13:39:21 -0300 Subject: [PATCH] fix(matter_idf_component): Update CMakeLists.txt to use C++ 2a --- examples/espidf-arduino-matter-light/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/espidf-arduino-matter-light/CMakeLists.txt b/examples/espidf-arduino-matter-light/CMakeLists.txt index 33c572967..1430df8ff 100644 --- a/examples/espidf-arduino-matter-light/CMakeLists.txt +++ b/examples/espidf-arduino-matter-light/CMakeLists.txt @@ -21,7 +21,7 @@ if(CONFIG_IDF_TARGET_ESP32C2) include(relinker) endif() -idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DCHIP_HAVE_CONFIG_H" APPEND) +idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++2a;-Os;-DCHIP_HAVE_CONFIG_H" APPEND) idf_build_set_property(C_COMPILE_OPTIONS "-Os" APPEND) # For RISCV chips, project_include.cmake sets -Wno-format, but does not clear various # flags that depend on -Wformat