CMake: fix baremetal, core-obj links to core and target

pull/14427/head
Martin Kojtal 2021-03-01 17:23:03 +00:00
parent 86f1ad74cc
commit 92f3529e2f
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ string(PREPEND MBED_TARGET_CONVERTED "mbed-")
add_library(mbed-core INTERFACE)
add_library(mbed-core-obj OBJECT EXCLUDE_FROM_ALL)
target_link_libraries(mbed-core-obj mbed-core ${MBED_TARGET_CONVERTED})
add_library(mbed-os INTERFACE)
add_library(mbed-os-obj OBJECT EXCLUDE_FROM_ALL)