mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
d4d778182f
Currently, the bootloader version of the `esp_partition` component sets `PRIV_INCLUDE_DIRS` using the `private_include_dirs` variable. However, this variable is not properly initialized, which causes issues in cmakev2. In cmakev2, components are evaluated recursively, and a component may be evaluated in the context of another component, so components must initialize all variables before using them. Moreover, there are effectively no `PRIV_INCLUDE_DIRS` to set when the component is evaluated for the bootloader. Therefore, remove `PRIV_INCLUDE_DIRS` entirely for bootloader and test builds. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>