Skip to content

Commit 1dea6f6

Browse files
committed
app: Update app CMakeLists.txt template
The location of Mbed config cmake file `mbed_config.cmake` is moved from root to build directory. App CMakeLists.txt template is updated to reflect the same.
1 parent 3a3c598 commit 1dea6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mbed_tools/project/_internal/templates/CMakeLists.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
cmake_minimum_required(VERSION 3.19.0)
55

66
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
7-
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.mbedbuild CACHE INTERNAL "")
7+
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_BINARY_DIR} CACHE INTERNAL "")
88
set(APP_TARGET {{program_name}})
99

1010
include(${MBED_PATH}/tools/cmake/app.cmake)

0 commit comments

Comments
 (0)