Skip to content

Commit 1413c42

Browse files
committed
CMake: use project name for Mbed OS
This enables multiple variables we can use. One of them is source dir for a project. It will replace MBED_PATH in the tree.
1 parent 9bbc8c9 commit 1413c42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
88
include(${MBED_CONFIG_PATH}/mbed_config.cmake)
99
include(tools/cmake/set_linker_script.cmake)
1010

11+
project(mbed-os)
12+
1113
add_library(mbed-core INTERFACE)
1214

1315
add_library(mbed-os INTERFACE)

0 commit comments

Comments
 (0)