fix CMake errors on Cortex-A targets (#293)

pull/15530/head
Wang Xu 2024-06-26 15:05:49 +08:00 committed by GitHub
parent b5e52f0606
commit 8826c613db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ if(${CMAKE_CROSSCOMPILING})
function(_mbed_get_cortex_a_exception_handlers)
foreach(key ${MBED_TARGET_LABELS})
if(${key} STREQUAL CORTEX_A)
target_sources(mbed-rtos INTERFACE Config/TARGET_CORTEX_A/handlers.c)
target_sources(mbed-rtos-sources INTERFACE Config/TARGET_CORTEX_A/handlers.c)
endif()
endforeach()
endfunction()