diff --git a/CMakeLists.txt b/CMakeLists.txt index b65aa03e89..098fd20a88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,7 @@ add_subdirectory(cmsis/device/rtos EXCLUDE_FROM_ALL) # preventing CMake from working its usage requirements magic and forcing us to set the linker # script globally. # -# Ensure the words that make up the Mbed target name are separated with an hyphen, lowercase, and with the `mbed-` prefix. +# Ensure the words that make up the Mbed target name are separated with a hyphen, lowercase, and with the `mbed-` prefix. string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED) string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED}) string(PREPEND MBED_TARGET_CONVERTED "mbed-") diff --git a/tools/cmake/README.md b/tools/cmake/README.md index 110bc4c72c..dc1240fffb 100644 --- a/tools/cmake/README.md +++ b/tools/cmake/README.md @@ -103,7 +103,7 @@ Notes: ## Naming convention -- `mbed` namespace: Mbed CMake targets must have `mbed` prefix +- `mbed` namespace: Mbed CMake targets must have `mbed-` prefix - all characters are lower case - words separated by hyphens