CMake: Installing icons to hicolor directory
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Syping 2020-08-28 17:11:04 +02:00
parent 8295e38ab4
commit 8be9fd6d5e

View file

@ -200,6 +200,15 @@ target_link_libraries(gta5view PRIVATE Qt5::Network Qt5::Svg Qt5::Widgets)
install(TARGETS gta5view DESTINATION bin) install(TARGETS gta5view DESTINATION bin)
install(FILES res/de.syping.gta5view.desktop DESTINATION share/applications) install(FILES res/de.syping.gta5view.desktop DESTINATION share/applications)
install(FILES res/gta5view-16.png DESTINATION share/icons/hicolor/16x16/apps RENAME gta5view.png)
install(FILES res/gta5view-24.png DESTINATION share/icons/hicolor/24x24/apps RENAME gta5view.png)
install(FILES res/gta5view-32.png DESTINATION share/icons/hicolor/32x32/apps RENAME gta5view.png)
install(FILES res/gta5view-48.png DESTINATION share/icons/hicolor/48x48/apps RENAME gta5view.png)
install(FILES res/gta5view-64.png DESTINATION share/icons/hicolor/64x64/apps RENAME gta5view.png)
install(FILES res/gta5view-96.png DESTINATION share/icons/hicolor/96x96/apps RENAME gta5view.png)
install(FILES res/gta5view-128.png DESTINATION share/icons/hicolor/128x128/apps RENAME gta5view.png)
install(FILES res/gta5view-256.png DESTINATION share/icons/hicolor/256x256/apps RENAME gta5view.png)
install(FILES res/gta5view-512.png DESTINATION share/icons/hicolor/512x512/apps RENAME gta5view.png)
install(FILES res/gta5view.png DESTINATION share/pixmaps) install(FILES res/gta5view.png DESTINATION share/pixmaps)
if(QCONF_BUILD) if(QCONF_BUILD)