mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'feature/backport_component_target_var' into 'release/v3.2'
cmake: make COMPONENT_TARGET available (v3.2) See merge request idf/esp-idf!5339
This commit is contained in:
@ -107,6 +107,8 @@ function(register_component)
|
||||
target_link_libraries(${component} "-L${CMAKE_CURRENT_BINARY_DIR}")
|
||||
target_link_libraries(${component} "-Wl,--whole-archive -l${component} -Wl,--no-whole-archive")
|
||||
endif()
|
||||
|
||||
set(COMPONENT_TARGET ${COMPONENT_NAME} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
function(register_config_only_component)
|
||||
|
Reference in New Issue
Block a user