add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png
COMMAND ${CONVERT_EXECUTABLE} -depth 8
-size 22x22 xc:none -gravity center -background transparent
- ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite
- ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png
+ -size 20x20 ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg
+ -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg
COMMENT "Generating icons/tigervnc_22.png")
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png
COMMAND ${CONVERT_EXECUTABLE} -depth 8
-size 24x24 xc:none -gravity center -background transparent
- ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite
- ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png
+ -size 20x20 ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg
+ -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg
COMMENT "Generating icons/tigervnc_24.png")
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png
COMMAND ${CONVERT_EXECUTABLE} -depth 8
-size 32x32 xc:none -gravity center -background transparent
- ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_28.svg -composite
- ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png
+ -size 28x28 ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_28.svg
+ -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_28.svg
COMMENT "Generating icons/tigervnc_32.png")
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png
COMMAND ${CONVERT_EXECUTABLE} -depth 8
-size 48x48 xc:none -gravity center -background transparent
- ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg -composite
- ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png
+ -size 42x42 ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg
+ -composite ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg
COMMENT "Generating icons/tigervnc_48.png")