From b65fbd6420698c8bc3fea7b879ddbe2a3b8abe83 Mon Sep 17 00:00:00 2001 From: h2zero Date: Wed, 30 Sep 2020 19:55:36 -0600 Subject: [PATCH] Fix missing headers when compiling as IDF component with Cmake * HttpsOTAUpdate introduced new IDF component requirements. These have been added to CMakeLists.txt to correct compilation errors when using Cmake. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00d8318a49f..4911dd5896d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,7 +208,7 @@ set(COMPONENT_ADD_INCLUDEDIRS set(COMPONENT_PRIV_INCLUDEDIRS cores/esp32/libb64) set(COMPONENT_REQUIRES spi_flash mbedtls mdns ethernet esp_adc_cal wifi_provisioning) -set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support openssl bt) +set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support openssl bt esp_http_client esp_https_ota) register_component()