libsuperderpy/cmake/libsuperderpy-icons.cmake
2019-09-07 18:11:56 +02:00

13 lines
1.1 KiB
CMake

if(UNIX AND NOT APPLE AND NOT EMSCRIPTEN)
install(FILES 16/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps)
install(FILES 32/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps)
install(FILES 48/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps)
install(FILES 64/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps)
install(FILES 128/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps)
install(FILES 256/${LIBSUPERDERPY_GAMENAME}.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
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)