mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
11 lines
405 B
CMake
11 lines
405 B
CMake
include($ENV{ESP_MATTER_DEVICE_PATH}/esp_matter_device.cmake)
|
|
set(light_requires )
|
|
if ("${light_type}" STREQUAL "ws2812")
|
|
list(APPEND light_requires led_strip)
|
|
elseif ("${light_type}" STREQUAL "vled")
|
|
list(APPEND light_requires tft spidriver)
|
|
endif()
|
|
idf_component_register(SRC_DIRS ${light_type} utils
|
|
INCLUDE_DIRS include
|
|
PRIV_REQUIRES ${light_requires})
|