From b4b140914865d9c32506806b7e96c9e139ee8928 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 23 Jun 2018 15:04:01 +0200 Subject: Fix app icon macro --- cmake/modules/ECMAddAppIcon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/modules/ECMAddAppIcon.cmake b/cmake/modules/ECMAddAppIcon.cmake index 51af4ea47..9a70a102b 100644 --- a/cmake/modules/ECMAddAppIcon.cmake +++ b/cmake/modules/ECMAddAppIcon.cmake @@ -213,7 +213,7 @@ function(ecm_add_app_icon appsources) endfunction() if (IcoTool_FOUND) - set(icotool_args "-c -o \"${_outfilename}.ico\"") + list(APPEND icotool_args "-c" "-o" "${_outfilename}.ico") # According to https://stackoverflow.com/a/40851713/2886832 # Windows always chooses the first icon above 255px, all other ones will be ignored -- cgit v1.2.3