mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(cmakev2/compat): add esp_stdio to common requires
The cmakev1 added esp_stdio to common requires, add it in cmakev2 too for backward compatibility. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -258,10 +258,11 @@ function(__init_common_components)
|
|||||||
# Define common components that are included as dependencies for each
|
# Define common components that are included as dependencies for each
|
||||||
# component.
|
# component.
|
||||||
if("${idf_target}" STREQUAL "linux")
|
if("${idf_target}" STREQUAL "linux")
|
||||||
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux)
|
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux
|
||||||
|
esp_stdio)
|
||||||
else()
|
else()
|
||||||
set(requires_common cxx esp_libc freertos esp_hw_support heap log soc hal esp_rom esp_common
|
set(requires_common cxx esp_libc freertos esp_hw_support heap log soc hal esp_rom esp_common
|
||||||
esp_system ${idf_target_arch})
|
esp_system esp_stdio ${idf_target_arch})
|
||||||
endif()
|
endif()
|
||||||
idf_build_set_property(__COMPONENT_REQUIRES_COMMON "${requires_common}")
|
idf_build_set_property(__COMPONENT_REQUIRES_COMMON "${requires_common}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user