]> source.dussan.org Git - tigervnc.git/commitdiff
Remove redundant icon installation
authorPierre Ossman <ossman@cendio.se>
Wed, 11 May 2022 07:34:25 +0000 (09:34 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 11 May 2022 11:05:04 +0000 (13:05 +0200)
This is already done by vncviewer, so we don't need any rule here.

media/CMakeLists.txt

index 7eff4a38670dcf76e7f90a03854b443d5a13b3c0..e6eb1a176d569b4d3d442bce58df7a3ee7be671e 100644 (file)
@@ -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