Makes COMPONENT_LIB available for mock components

- COMPONENT_LIB wasn't available for parent scope
This commit is contained in:
Euripedes Rocha 2022-09-13 14:52:47 +02:00 committed by Rocha Euripedes
parent 64129c2e51
commit dd441ef713

View File

@ -564,6 +564,8 @@ function(idf_component_mock)
INCLUDE_DIRS ${__INCLUDE_DIRS}
REQUIRES ${__REQUIRES})
set(COMPONENT_LIB ${COMPONENT_LIB} PARENT_SCOPE)
add_custom_command(
OUTPUT ruby_found SYMBOLIC
COMMAND "ruby" "-v"