Use GNUInstallDirs to install desktop and appstream files

c81baf1a9c introduced the usage of
GNUInstallDirs for Linux. Use it to install desktop files and
appstream metadata, too.

Change-Id: I13a363e5383e1150fd9b8d7e33d55ac53bee63ff
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Heiko Becker
2021-02-25 23:38:52 +01:00
parent de04f29198
commit 0de044d479

View File

@@ -6,6 +6,6 @@ if (NOT APPLE AND NOT WIN32)
applications
metainfo
DESTINATION
share
${CMAKE_INSTALL_DATAROOTDIR}
)
endif()