Fix CMake change failures on Windows

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis 2022-07-21 16:57:22 +01:00
parent 6a31396a13
commit 75ef944da3

View File

@ -40,8 +40,9 @@ execute_process(
psa_generated_data_files)
# Derive generated file paths in the build directory
set(base_generated_data_files ${bignum_generated_data_files} ${psa_generated_data_files})
set(generated_data_files "")
foreach(file ${bignum_generated_data_files} ${psa_generated_data_files})
foreach(file ${base_generated_data_files})
list(APPEND generated_data_files ${CMAKE_CURRENT_BINARY_DIR}/${file})
endforeach()