ESP32/components/csi_manager/CMakeLists.txt

13 lines
368 B
CMake

# Define sources list
set(srcs "")
# Only add the source file if the feature is enabled in menuconfig
if(CONFIG_ESP_WIFI_CSI_ENABLED)
list(APPEND srcs "csi_manager.c")
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "."
REQUIRES esp_wifi freertos
PRIV_REQUIRES csi_log log nvs_flash)