From ef6fa1d75e9f617a4d1dc8b17092f002a7e48b1c Mon Sep 17 00:00:00 2001 From: Daljit Date: Thu, 15 Feb 2024 13:59:28 +0000 Subject: [PATCH] Install desktop file to share/applications Also moved the mrtrix3.desktop in the source codebase to share/applications to follow FHS conventions. --- share/CMakeLists.txt | 4 ++++ mrview.desktop => share/applications/mrview.desktop | 0 2 files changed, 4 insertions(+) rename mrview.desktop => share/applications/mrview.desktop (100%) diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index 778fc25e31..5b46e43543 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -10,4 +10,8 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/mrtrix3/ install(DIRECTORY ${PROJECT_SOURCE_DIR}/icons/desktop/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor +) + +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/applications/mrview.desktop + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) \ No newline at end of file diff --git a/mrview.desktop b/share/applications/mrview.desktop similarity index 100% rename from mrview.desktop rename to share/applications/mrview.desktop