aboutsummaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/media/CMakeLists.txt b/media/CMakeLists.txt
index 0e70ab62..2e4833a5 100644
--- a/media/CMakeLists.txt
+++ b/media/CMakeLists.txt
@@ -29,28 +29,32 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_16.png
COMMENT "Generating icons/tigervnc_16.png")
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png
- COMMAND ${CONVERT_EXECUTABLE} -size 22x22 xc:none -gravity center -background transparent
+ COMMAND ${CONVERT_EXECUTABLE} -density 72
+ -size 22x22 xc:none -gravity center -background transparent
${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite
${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_22.png
DEPENDS icons ${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} -size 24x24 xc:none -gravity center -background transparent
+ COMMAND ${CONVERT_EXECUTABLE} -density 72
+ -size 24x24 xc:none -gravity center -background transparent
${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_20.svg -composite
${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_24.png
DEPENDS icons ${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} -size 32x32 xc:none -gravity center -background transparent
+ COMMAND ${CONVERT_EXECUTABLE} -density 72
+ -size 32x32 xc:none -gravity center -background transparent
${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_28.svg -composite
${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_32.png
DEPENDS icons ${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} -size 48x48 xc:none -gravity center -background transparent
+ COMMAND ${CONVERT_EXECUTABLE} -density 72
+ -size 48x48 xc:none -gravity center -background transparent
${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg -composite
${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_48.png
DEPENDS icons ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_42.svg