diff options
Diffstat (limited to 'cmake/modules/ECMAddAppIcon.cmake')
-rw-r--r-- | cmake/modules/ECMAddAppIcon.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |