From d8ee1b9bfeee21d3981a40e735411393392bc1f6 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Wed, 29 Dec 2021 12:28:03 +0100 Subject: [PATCH] fix install directories (#115) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d788701..ae4deea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,8 +221,8 @@ endif() if(UNIX AND NOT APPLE) include(GNUInstallDirs) install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") - install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications") - install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") + install(FILES "Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications") + install(FILES "Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") foreach(S 16 32 48 128 192) install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION "share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png")