mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
fix(ulp): initialize sources to prevent scope leakage in cmakev2
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
function(__setup_ulp_project app_name project_path prefix type s_sources exp_dep_srcs)
|
||||
|
||||
if(NOT CMAKE_BUILD_EARLY_EXPANSION)
|
||||
set(sources "")
|
||||
spaces2list(s_sources)
|
||||
foreach(source ${s_sources})
|
||||
get_filename_component(source ${source} ABSOLUTE BASE_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
Reference in New Issue
Block a user