From 8826c613dbbd11b98ab123d280c8842b265b83da Mon Sep 17 00:00:00 2001 From: Wang Xu Date: Wed, 26 Jun 2024 15:05:49 +0800 Subject: [PATCH] fix CMake errors on Cortex-A targets (#293) --- cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt b/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt index 98f94a066a..7420ad1baa 100644 --- a/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt +++ b/cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt @@ -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()