Skip to content

Commit d8e7a91

Browse files
authored
feat(matter): sets c++ 2a as default
1 parent cb128ad commit d8e7a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idf_component_examples/esp_matter_light/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(CONFIG_IDF_TARGET_ESP32C2)
2121
include(relinker)
2222
endif()
2323

24-
idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DCHIP_HAVE_CONFIG_H" APPEND)
24+
idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++2a;-Os;-DCHIP_HAVE_CONFIG_H" APPEND)
2525
idf_build_set_property(C_COMPILE_OPTIONS "-Os" APPEND)
2626
# For RISCV chips, project_include.cmake sets -Wno-format, but does not clear various
2727
# flags that depend on -Wformat

0 commit comments

Comments
 (0)