mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
build system: quote values in __component_write_properties
This commit is contained in:
@@ -126,7 +126,7 @@ function(__component_write_properties output_file)
|
|||||||
foreach(property ${component_properties})
|
foreach(property ${component_properties})
|
||||||
__component_get_property(val ${component_target} ${property})
|
__component_get_property(val ${component_target} ${property})
|
||||||
set(component_properties_text
|
set(component_properties_text
|
||||||
"${component_properties_text}\nset(__component_${component_target}_${property} ${val})")
|
"${component_properties_text}\nset(__component_${component_target}_${property} \"${val}\")")
|
||||||
endforeach()
|
endforeach()
|
||||||
file(WRITE ${output_file} "${component_properties_text}")
|
file(WRITE ${output_file} "${component_properties_text}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Reference in New Issue
Block a user