aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2021-02-25 23:38:52 +0100
committerHeiko Becker <heirecka@exherbo.org>2021-02-26 09:44:11 +0000
commit0de044d4794aff533a77f7dfe23815f9e2f4388d (patch)
tree7d28f6b1a0905dc5b4aa3023fa1e2c5fab534d16
parentde04f29198a602491b4195c778ce6a7f98dacf4c (diff)
Use GNUInstallDirs to install desktop and appstream files
c81baf1a9cc938a283f6c52c8fd10bab84183391 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>
-rw-r--r--share/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt
index eb3c779b40..b1e61d596e 100644
--- a/share/CMakeLists.txt
+++ b/share/CMakeLists.txt
@@ -6,6 +6,6 @@ if (NOT APPLE AND NOT WIN32)
applications
metainfo
DESTINATION
- share
+ ${CMAKE_INSTALL_DATAROOTDIR}
)
endif()