Skip to content

Commit b999008

Browse files
0xc0170hugueskamba
andauthored
CMake: fix wording in naming
Co-authored-by: Hugues Kamba <[email protected]>
1 parent ef98060 commit b999008

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +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-
# Ensure the words that make up the Mbed target name are separated with an hyphen, lowercase, and with the `mbed-` prefix.
131+
# Ensure the words that make up the Mbed target name are separated with a hyphen, lowercase, and with the `mbed-` prefix.
132132
string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED)
133133
string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED})
134134
string(PREPEND MBED_TARGET_CONVERTED "mbed-")

tools/cmake/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Notes:
103103
104104
## Naming convention
105105
106-
- `mbed` namespace: Mbed CMake targets must have `mbed` prefix
106+
- `mbed` namespace: Mbed CMake targets must have `mbed-` prefix
107107
- all characters are lower case
108108
- words separated by hyphens
109109

0 commit comments

Comments
 (0)