cmake: remove direct call to cmake and use ${CMAKE_COMMAND} instead
This commit removes an occurence of `cmake` and instead uses the correct form ${CMAKE_COMMAND}. This fixes issues where CMake is invoked without being present in the system PATH. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
a36147c9cb
commit
4df38c7916
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ set(post_build_byproducts "")
|
|||
list(APPEND
|
||||
post_build_commands
|
||||
COMMAND
|
||||
cmake -E rename ${logical_target_for_zephyr_elf}.map ${KERNEL_MAP_NAME}
|
||||
${CMAKE_COMMAND} -E rename ${logical_target_for_zephyr_elf}.map ${KERNEL_MAP_NAME}
|
||||
)
|
||||
|
||||
if(NOT CONFIG_BUILD_NO_GAP_FILL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue