diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 341e7b4..1a72749 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,8 @@ set(formats ico ) +find_program(imagemagick magick convert) + foreach(icon ${icons}) foreach(format ${formats}) set(source "${CMAKE_CURRENT_SOURCE_DIR}/icons/${icon}.svg") @@ -23,7 +25,7 @@ foreach(icon ${icons}) OUTPUT ${sink} COMMAND - convert + ${imagemagick} ${intermediate} ${sink} DEPENDS |