cmake: install the app icon into /usr/share/pixmaps as well

This commit is contained in:
Sebastian Krzyszkowiak 2019-09-07 18:11:56 +02:00
parent 521ea828f8
commit 036cc00332
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -8,5 +8,6 @@ if(UNIX AND NOT APPLE AND NOT EMSCRIPTEN)
if(EXISTS ${LIBSUPERDERPY_GAMENAME}.svg)
install(FILES ${LIBSUPERDERPY_GAMENAME}.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
endif(EXISTS ${LIBSUPERDERPY_GAMENAME}.svg)
install(FILES ${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
endif(UNIX AND NOT APPLE AND NOT EMSCRIPTEN)
install(FILES ${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${DATADIR}/icons)