From 28fcd03d7b728c07254ec7c10a4be5d543ef37ec Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 May 2022 09:34:25 +0200 Subject: [PATCH] Remove redundant icon installation This is already done by vncviewer, so we don't need any rule here. --- media/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/media/CMakeLists.txt b/media/CMakeLists.txt index 7eff4a38..e6eb1a17 100644 --- a/media/CMakeLists.txt +++ b/media/CMakeLists.txt @@ -9,16 +9,6 @@ find_program(CONVERT_EXECUTABLE convert) if(CONVERT_EXECUTABLE) add_custom_target(icons DEPENDS ${ICON_FILES}) - - if(UNIX AND NOT APPLE) - foreach(SIZE 16 22 24 32 48) - install(FILES icons/tigervnc_${SIZE}.png - DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor/${SIZE}x${SIZE}/apps - RENAME tigervnc.png) - endforeach() - install(FILES icons/tigervnc.svg - DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor/scalable/apps) - endif() endif() add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_16.png -- 2.39.5