Skip to content

Commit 7c680bc

Browse files
committed
Update CMakeLists.txt
1 parent 418ec21 commit 7c680bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ set(includedirs
208208
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
209209
set(priv_includes cores/esp32/libb64)
210210
set(requires spi_flash mbedtls mdns wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
211-
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid esp_insights)
211+
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid)
212212

213213
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
214214

@@ -251,6 +251,9 @@ endfunction()
251251

252252
maybe_add_component(esp-dsp)
253253

254+
if(CONFIG_ESP_INSIGHTS_ENABLED)
255+
maybe_add_component(esp_insights)
256+
endif()
254257
if(CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK)
255258
maybe_add_component(esp_rainmaker)
256259
maybe_add_component(qrcode)

0 commit comments

Comments
 (0)