fix(ulp): initialize sources to prevent scope leakage in cmakev2

This commit is contained in:
Sudeep Mohanty
2026-05-18 13:36:32 +02:00
parent 77b7625b81
commit c105ea3af8

View File

@@ -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})