Fix an issue with using echo on Windows
Use built-in echo command in cmake instead to ensure behavior is the same between different platforms
This commit is contained in:
parent
216b935488
commit
d0c3d3c5fd
|
|
@ -58,7 +58,7 @@ endfunction()
|
|||
function(report_size target)
|
||||
add_custom_command(
|
||||
TARGET ${target} POST_BUILD
|
||||
COMMAND echo "" # visually separate the output
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "" # visually separate the output
|
||||
COMMAND "${CMAKE_SIZE_UTIL}" -B "$<TARGET_FILE:${target}>"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue