Skip to content

Commit 4536a5e

Browse files
0xc0170hugueskamba
andauthored
Update CMakeLists.txt
Co-authored-by: Hugues Kamba <[email protected]>
1 parent e88e114 commit 4536a5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ add_subdirectory(cmsis/device/rtos EXCLUDE_FROM_ALL)
128128
# preventing CMake from working its usage requirements magic and forcing us to set the linker
129129
# script globally.
130130
#
131-
# Keep our CMake naming in targets as well: using lowercase with dashes + prefixed with mbed-
132-
# Tools can keep targets.json naming, we translate here for linking
131+
# Ensure the words that make up the Mbed target name are separated with an hyphen, lowercase, and with the `mbed-` prefix.
133132
string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED)
134133
string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED})
135134
string(PREPEND MBED_TARGET_CONVERTED "mbed-")

0 commit comments

Comments
 (0)