Skip to content

Commit

Permalink
netutils/connectedhomeip: use CONFIG_CXX_STANDARD instead of hard code
Browse files Browse the repository at this point in the history
as c++ versions are upgraded, hard code compilation options can
cause build error.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
  • Loading branch information
zhhyu7 committed Oct 24, 2024
1 parent b6fb787 commit fc2fb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netutils/connectedhomeip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if(CONFIG_MATTER)

set(MATTER_FLAGS
-DCHIP_HAVE_CONFIG_H
-std=c++17
-std=${CONFIG_CXX_STANDARD}
-Wno-undef
-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>
)
Expand Down

0 comments on commit fc2fb7f

Please sign in to comment.