diff --git a/vendors/espressif/boards/esp32/CMakeLists.txt b/vendors/espressif/boards/esp32/CMakeLists.txt index 73209c312d6..6e4ed67acb9 100644 --- a/vendors/espressif/boards/esp32/CMakeLists.txt +++ b/vendors/espressif/boards/esp32/CMakeLists.txt @@ -11,6 +11,11 @@ endif() # ------------------------------------------------------------------------------------------------- # Compiler settings # ------------------------------------------------------------------------------------------------- +# Mark the python dependencies as checked so that esp-idf does not check them since this is not +# needed when we are only generating metadata and not building the project. +if(AFR_METADATA_MODE) + set(PYTHON_DEPS_CHECKED 1) +endif() set(esp_idf_dir "${AFR_VENDORS_DIR}/espressif/esp-idf") # Provides idf_import_components and idf_link_components