CMake Analog devices: fix linking to the main family target

pull/14244/head
Martin Kojtal 2021-02-14 19:48:16 +00:00
parent ab7067df3f
commit 64d4a7a58a
5 changed files with 6 additions and 3 deletions

View File

@ -111,3 +111,5 @@ target_sources(mbed-aducm3029
bsp/xint/adi_xint.c
)
target_link_libraries(mbed-aducm3029 INTERFACE mbed-analog-devices)

View File

@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad3029lz
device/startup_ADuCM3029.c
)
target_link_libraries(mbed-ev-cog-ad3029lz INTERFACE mbed-analog-devices mbed-aducm3029)
target_link_libraries(mbed-ev-cog-ad3029lz INTERFACE mbed-aducm3029)

View File

@ -2,4 +2,3 @@
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(TARGET_ADUCM4050 EXCLUDE_FROM_ALL)

View File

@ -111,3 +111,5 @@ target_sources(mbed-aducm4050
bsp/xint/adi_xint.c
)
target_link_libraries(mbed-aducm4050 INTERFACE mbed-analog-devices)

View File

@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad4050lz
device/startup_ADuCM4050.c
)
target_link_libraries(mbed-ev-cog-ad4050lz INTERFACE mbed-analog-devices mbed-aducm4050)
target_link_libraries(mbed-ev-cog-ad4050lz INTERFACE mbed-aducm4050)