Makes COMPONENT_LIB available for mock components
COMPONENT_LIB wasn't available for parent scope
@@ -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"
