From c2601d9a341a5c9198c529ae00bdf449907af34c Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Thu, 20 Oct 2022 12:27:15 +0200 Subject: [PATCH] Revert accidental change Fix windows build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b95b4ae..83e52d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,7 +179,7 @@ if(CMAKE_CROSSCOMPILING) add_custom_command( TARGET firmware POST_BUILD - COMMAND avr-size ARGS -C --mcu=atmega32u4 firmware + COMMAND ${CMAKE_SIZE_UTIL} -C --mcu=atmega32u4 firmware ) report_size(firmware)