Files
esp-matter/examples/light_network_prov/main/CMakeLists.txt
T
Shubham Patil a5a1a4d7bd examples: remove redundant C++ standard setting in main component
All examples already set the C++ standard in the project-level
CMakeLists.txt. The main component redundantly sets it again.
As per the ESP-IDF C++ support guide, a component should only
override the C++ version if it intends to use a different one.
We want to keep a consistent version across the project, so
the redundant setting is removed.
2025-08-13 11:03:12 +05:30

5 lines
256 B
CMake

idf_component_register(SRC_DIRS "." "./network_prov_scheme"
PRIV_INCLUDE_DIRS "." "${ESP_MATTER_PATH}/examples/common/utils" "./network_prov_scheme")
target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H")