Skip to content

Commit 8826c61

Browse files
authored
fix CMake errors on Cortex-A targets (#293)
1 parent b5e52f0 commit 8826c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(${CMAKE_CROSSCOMPILING})
3232
function(_mbed_get_cortex_a_exception_handlers)
3333
foreach(key ${MBED_TARGET_LABELS})
3434
if(${key} STREQUAL CORTEX_A)
35-
target_sources(mbed-rtos INTERFACE Config/TARGET_CORTEX_A/handlers.c)
35+
target_sources(mbed-rtos-sources INTERFACE Config/TARGET_CORTEX_A/handlers.c)
3636
endif()
3737
endforeach()
3838
endfunction()

0 commit comments

Comments
 (0)