From d0c3d3c5fda6c2b91917ddd881fb8e20ed658097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 28 Jan 2023 16:43:00 +0000 Subject: [PATCH] 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 --- cmake/Utilities.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Utilities.cmake b/cmake/Utilities.cmake index 1ae37d25c..e6669a18a 100644 --- a/cmake/Utilities.cmake +++ b/cmake/Utilities.cmake @@ -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 "$" USES_TERMINAL )