Skip to content

Commit 4096fc2

Browse files
committed
Update location of Mbed OS cmake config file
Mbed OS tools now generates Mbed OS cmake config file in build folder instead of root folder (ARMmbed/mbed-tools#189). Update `CMakeLists.txt` to use build folder to locate Mbed OS cmake config file.
1 parent 24cfbb6 commit 4096fc2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

authcrypt/CMakeLists.txt

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 FATAL_ERROR)
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 authcrypt)
99

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

benchmark/CMakeLists.txt

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 FATAL_ERROR)
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 benchmark)
99

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

hashing/CMakeLists.txt

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 FATAL_ERROR)
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 hashing)
99

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

tls-client/CMakeLists.txt

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 FATAL_ERROR)
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 benchmark)
99

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

0 commit comments

Comments
 (0)