diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index 6f9975b67..72c6b9562 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -1108,6 +1108,14 @@ if(CORE) LIBRARY DESTINATION "${libdir}" ARCHIVE DESTINATION "${libdir}" ) + install(FILES "../dist/linux/share/icons/hicolor/128x128/apps/org.dhewm3.Dhewm3.png" + DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/128x128/apps") + install(FILES "../dist/linux/share/icons/hicolor/256x256/apps/org.dhewm3.Dhewm3.png" + DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/256x256/apps") + install(FILES "../dist/linux/share/icons/hicolor/scalable/apps/org.dhewm3.Dhewm3.svg" + DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps") + install(FILES "../dist/linux/share/metainfo/org.dhewm3.Dhewm3.metainfo.xml" + DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo") endif() endif() @@ -1168,6 +1176,8 @@ if(BASE) LIBRARY DESTINATION "${libdir}" ARCHIVE DESTINATION "${libdir}" ) + install(FILES "../dist/linux/share/applications/org.dhewm3.Dhewm3.desktop" + DESTINATION "${CMAKE_INSTALL_DATADIR}/applications") endif() endif() @@ -1196,5 +1206,7 @@ if(D3XP) LIBRARY DESTINATION "${libdir}" ARCHIVE DESTINATION "${libdir}" ) + install(FILES "../dist/linux/share/applications/org.dhewm3.Dhewm3.d3xp.desktop" + DESTINATION "${CMAKE_INSTALL_DATADIR}/applications") endif() endif()