mirror of https://github.com/ARMmbed/mbed-os.git
CMake STM32: fix mbed-stm linking libs names
parent
b9990089eb
commit
6bf459e3ce
|
@ -26,4 +26,4 @@ target_sources(mbed-stm32f0
|
|||
spi_api.c
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32f0 INTERFACE STM mbed-stm32f0cube-fw)
|
||||
target_link_libraries(mbed-stm32f0 INTERFACE mbed-stm mbed-stm32f0cube-fw)
|
||||
|
|
|
@ -22,4 +22,4 @@ target_include_directories(mbed-stm32f1
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32f1 INTERFACE STM mbed-stm32f1cube-fw)
|
||||
target_link_libraries(mbed-stm32f1 INTERFACE mbed-stm mbed-stm32f1cube-fw)
|
||||
|
|
|
@ -26,4 +26,4 @@ target_include_directories(mbed-stm32f2
|
|||
./STM32Cube_FW/STM32F2xx_HAL_Driver/Legacy
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32f2 INTERFACE STM mbed-stm32f2cube-fw)
|
||||
target_link_libraries(mbed-stm32f2 INTERFACE mbed-stm mbed-stm32f2cube-fw)
|
||||
|
|
|
@ -26,4 +26,4 @@ target_sources(mbed-stm32f3
|
|||
spi_api.c
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32f3 INTERFACE STM mbed-stm32cube-fw)
|
||||
target_link_libraries(mbed-stm32f3 INTERFACE mbed-stm mbed-stm32cube-fw)
|
||||
|
|
|
@ -26,4 +26,4 @@ target_include_directories(mbed-stm32f7
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32f7 INTERFACE STM mbed-stm32f7cube-fw)
|
||||
target_link_libraries(mbed-stm32f7 INTERFACE mbed-stm mbed-stm32f7cube-fw)
|
||||
|
|
|
@ -27,4 +27,4 @@ target_include_directories(mbed-stm32g0
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32g0 INTERFACE STM mbed-stm32g0cube-few)
|
||||
target_link_libraries(mbed-stm32g0 INTERFACE mbed-stm mbed-stm32g0cube-few)
|
||||
|
|
|
@ -28,4 +28,4 @@ target_include_directories(mbed-stm32g4
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32g4 INTERFACE STM mbed-stm32g4cube-fw)
|
||||
target_link_libraries(mbed-stm32g4 INTERFACE mbed-stm mbed-stm32g4cube-fw)
|
||||
|
|
|
@ -25,4 +25,4 @@ target_include_directories(mbed-stm32h7
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32h7 INTERFACE STM mbed-stm32h7cube-fw)
|
||||
target_link_libraries(mbed-stm32h7 INTERFACE mbed-stm mbed-stm32h7cube-fw)
|
||||
|
|
|
@ -27,4 +27,4 @@ target_include_directories(mbed-stm32l0
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32l0 INTERFACE STM mbed-stm32l0cube-fw)
|
||||
target_link_libraries(mbed-stm32l0 INTERFACE mbed-stm mbed-stm32l0cube-fw)
|
||||
|
|
|
@ -33,4 +33,4 @@ target_include_directories(mbed-stm32l4
|
|||
)
|
||||
|
||||
add_subdirectory(STM32Cube_FW EXCLUDE_FROM_ALL)
|
||||
target_link_libraries(mbed-stm32l4 INTERFACE STM mbed-stm32l4cube-fw)
|
||||
target_link_libraries(mbed-stm32l4 INTERFACE mbed-stm mbed-stm32l4cube-fw)
|
||||
|
|
|
@ -25,4 +25,4 @@ target_include_directories(mbed-stm32l5
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32l5 INTERFACE STM mbed-stm32l5cube-fw)
|
||||
target_link_libraries(mbed-stm32l5 INTERFACE mbed-stm mbed-stm32l5cube-fw)
|
||||
|
|
|
@ -23,4 +23,4 @@ target_include_directories(mbed-stm32wb
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32wb INTERFACE STM mbed-stm32wbcube-fw)
|
||||
target_link_libraries(mbed-stm32wb INTERFACE mbed-stm mbed-stm32wbcube-fw)
|
||||
|
|
|
@ -22,4 +22,4 @@ target_include_directories(mbed-stm32wl
|
|||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-stm32wl INTERFACE STM mbed-stm32wlcube-fw)
|
||||
target_link_libraries(mbed-stm32wl INTERFACE mbed-stm mbed-stm32wlcube-fw)
|
||||
|
|
Loading…
Reference in New Issue