1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

Add rule to install metainfo file

Classify it among docs.
This commit is contained in:
Petr Menšík
2023-10-29 14:15:55 +01:00
parent bb988f1525
commit 742e7910ab

View File

@@ -90,6 +90,10 @@ if(UNIX AND NOT APPLE)
${CMAKE_BINARY_DIR}/media/${BINARY_NAME}.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
COMPONENT menu)
install(FILES
${CMAKE_SOURCE_DIR}/media/org.openttd.OpenTTD.metainfo.xml
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo
COMPONENT docs)
endif()
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")