From 0de044d4794aff533a77f7dfe23815f9e2f4388d Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 25 Feb 2021 23:38:52 +0100 Subject: [PATCH] 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 --- share/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index eb3c779b400..b1e61d596ef 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()