Skip to content

Commit c98146a

Browse files
committed
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 <[email protected]>
1 parent b768059 commit c98146a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/cmakev2/compat.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,11 @@ function(__init_common_components)
258258
# Define common components that are included as dependencies for each
259259
# component.
260260
if("${idf_target}" STREQUAL "linux")
261-
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux)
261+
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux
262+
esp_stdio)
262263
else()
263264
set(requires_common cxx esp_libc freertos esp_hw_support heap log soc hal esp_rom esp_common
264-
esp_system ${idf_target_arch})
265+
esp_system esp_stdio ${idf_target_arch})
265266
endif()
266267
idf_build_set_property(__COMPONENT_REQUIRES_COMMON "${requires_common}")
267268

0 commit comments

Comments
 (0)