Install Linux dist files

This commit is contained in:
Alexandre Bouvier 2022-06-16 19:48:19 +02:00
parent 2e71b99ee0
commit d1f58bfe6e

View file

@ -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()