Skip to content

Commit 64d4a7a

Browse files
committed
CMake Analog devices: fix linking to the main family target
1 parent ab7067d commit 64d4a7a

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,5 @@ target_sources(mbed-aducm3029
111111

112112
bsp/xint/adi_xint.c
113113
)
114+
115+
target_link_libraries(mbed-aducm3029 INTERFACE mbed-analog-devices)

targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/CMakelists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad3029lz
1515
device/startup_ADuCM3029.c
1616
)
1717

18-
target_link_libraries(mbed-ev-cog-ad3029lz INTERFACE mbed-analog-devices mbed-aducm3029)
18+
target_link_libraries(mbed-ev-cog-ad3029lz INTERFACE mbed-aducm3029)

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
add_subdirectory(TARGET_ADUCM4050 EXCLUDE_FROM_ALL)
5-

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,5 @@ target_sources(mbed-aducm4050
111111

112112
bsp/xint/adi_xint.c
113113
)
114+
115+
target_link_libraries(mbed-aducm4050 INTERFACE mbed-analog-devices)

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/CMakelists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad4050lz
1515
device/startup_ADuCM4050.c
1616
)
1717

18-
target_link_libraries(mbed-ev-cog-ad4050lz INTERFACE mbed-analog-devices mbed-aducm4050)
18+
target_link_libraries(mbed-ev-cog-ad4050lz INTERFACE mbed-aducm4050)

0 commit comments

Comments
 (0)