From 75ef944da3c3d98bc9b3b6dd10245d6fc4e132a1 Mon Sep 17 00:00:00 2001 From: Werner Lewis Date: Thu, 21 Jul 2022 16:57:22 +0100 Subject: [PATCH] Fix CMake change failures on Windows Signed-off-by: Werner Lewis --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index edb513cd7c36..dcc5de0ffb23 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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()