Skip to content

Commit 909ed07

Browse files
committed
Fix CI issue
1 parent 5771823 commit 909ed07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function(mbed_generate_map_file target)
185185
TARGET
186186
${target}
187187
POST_BUILD
188-
COMMAND ${Python3_EXECUTABLE} ${MBED_ROOT}/tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR}/${target}${CMAKE_EXECUTABLE_SUFFIX}.map
188+
COMMAND ${Python3_EXECUTABLE} ${MBED_PATH}/tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR}/${target}${CMAKE_EXECUTABLE_SUFFIX}.map
189189
WORKING_DIRECTORY
190190
${CMAKE_BINARY_DIR}
191191
COMMENT
@@ -198,7 +198,7 @@ endfunction()
198198
#
199199
function(mbed_validate_application_profile target)
200200
get_target_property(app_link_libraries ${target} LINK_LIBRARIES)
201-
string(FIND ${app_link_libraries} "mbed-baremetal" string_found_position)
201+
string(FIND "${app_link_libraries}" "mbed-baremetal" string_found_position)
202202
if(${string_found_position} GREATER_EQUAL 0)
203203
if(NOT "bare-metal" IN_LIST MBED_TARGET_SUPPORTED_APPLICATION_PROFILES)
204204
message(FATAL_ERROR

0 commit comments

Comments
 (0)