Skip to content

Commit 1745537

Browse files
committed
CMake: Use renamed Mbed CMake targets component
They are now prefixed with "mbed-" instead of "mbed-os-"
1 parent f67cd30 commit 1745537

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

getting-started/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mbed_set_mbed_target_linker_script(${APP_TARGET})
1919
project(${APP_TARGET})
2020

2121
# Provide Mbed OS with the header file it needs to configure Mbed TLS
22-
target_include_directories(mbed-os
22+
target_include_directories(${APP_TARGET}
2323
PUBLIC
2424
${CMAKE_CURRENT_SOURCE_DIR}
2525
)
@@ -30,8 +30,9 @@ target_sources(${APP_TARGET}
3030
)
3131

3232
target_link_libraries(${APP_TARGET}
33-
mbed-os
34-
mbed-os-psa
33+
PRIVATE
34+
mbed-os
35+
mbed-psa
3536
)
3637

3738
mbed_generate_bin_hex(${APP_TARGET})

0 commit comments

Comments
 (0)