mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
Makes COMPONENT_LIB available for mock components
- COMPONENT_LIB wasn't available for parent scope
This commit is contained in:
@@ -564,6 +564,8 @@ function(idf_component_mock)
|
|||||||
INCLUDE_DIRS ${__INCLUDE_DIRS}
|
INCLUDE_DIRS ${__INCLUDE_DIRS}
|
||||||
REQUIRES ${__REQUIRES})
|
REQUIRES ${__REQUIRES})
|
||||||
|
|
||||||
|
|
||||||
|
set(COMPONENT_LIB ${COMPONENT_LIB} PARENT_SCOPE)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ruby_found SYMBOLIC
|
OUTPUT ruby_found SYMBOLIC
|
||||||
COMMAND "ruby" "-v"
|
COMMAND "ruby" "-v"
|
||||||
|
Reference in New Issue
Block a user