Skip to content

Commit 2ff75e3

Browse files
zhhyu7xiaoxiang781216
authored andcommitted
netutils/connectedhomeip: use CONFIG_CXX_STANDARD instead of hard code
as c++ versions are upgraded, hard code compilation options can cause build error Signed-off-by: zhanghongyu <[email protected]>
1 parent b6fb787 commit 2ff75e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netutils/connectedhomeip/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ if(CONFIG_MATTER)
182182

183183
set(MATTER_FLAGS
184184
-DCHIP_HAVE_CONFIG_H
185-
-std=c++17
185+
-std=${CONFIG_CXX_STANDARD}
186186
-Wno-undef
187187
-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>
188188
)

0 commit comments

Comments
 (0)