set(srcs "") if(CONFIG_ESP_WIFI_CSI_ENABLED) list(APPEND srcs "csi_log.c") endif() idf_component_register( SRCS ${srcs} INCLUDE_DIRS "." REQUIRES esp_wifi esp_partition )