mirror of https://github.com/ARMmbed/mbed-os.git
fix CMake errors on Cortex-A targets (#293)
parent
b5e52f0606
commit
8826c613db
|
@ -32,7 +32,7 @@ if(${CMAKE_CROSSCOMPILING})
|
||||||
function(_mbed_get_cortex_a_exception_handlers)
|
function(_mbed_get_cortex_a_exception_handlers)
|
||||||
foreach(key ${MBED_TARGET_LABELS})
|
foreach(key ${MBED_TARGET_LABELS})
|
||||||
if(${key} STREQUAL CORTEX_A)
|
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()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Reference in New Issue