1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-03 05:25:52 +00:00

Use magick convert instead of convert

This adjusts to the new ImageMagick command naming (way to go,
GraphicsMagick had this from the beginning) and avoids confusion with
same-named windows utility which serves completely different purpose.
This commit is contained in:
Mike Gelfand 2018-01-26 07:56:11 +03:00
parent 94be7dbd9b
commit 6903f24ea8

View file

@ -7,7 +7,7 @@ function(png2ico OUTPUT_FILE)
add_custom_command( add_custom_command(
OUTPUT "${OUTPUT_FILE}" OUTPUT "${OUTPUT_FILE}"
COMMAND convert ${ARGN} "${OUTPUT_FILE}" COMMAND magick convert ${ARGN} "${OUTPUT_FILE}"
DEPENDS ${ARGN}) DEPENDS ${ARGN})
list(APPEND ${OUTPUT_VAR} "${OUTPUT_FILE}") list(APPEND ${OUTPUT_VAR} "${OUTPUT_FILE}")