corrected cmake path

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor 2025-04-07 13:24:51 +01:00
parent 2584eaddf9
commit eea3ddaf2c

View File

@ -37,7 +37,7 @@ foreach(exe IN LISTS executables_no_common_c executables_with_common_c)
# This emulates "if ( ... IN_LIST ... )" which becomes available in CMake 3.3
list(FIND executables_with_common_c ${exe} exe_index)
if(${exe_index} GREATER -1)
list(APPEND exe_sources ../../tf-psa-crypto/programs/fuzz/common.c)
list(APPEND exe_sources ${MBEDTLS_DIR}/tf-psa-crypto/programs/fuzz/fuzz_common.c)
endif()
add_executable(${exe} ${exe_sources})