From 2ea849e4fab52d0b7baf5e2f3bc18a3169be44eb Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 3 Aug 2021 23:39:42 +0200 Subject: Use CMAKE_INSTALL_FULL_*DIR locations for installation --- data/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index a423f5b..206ae08 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -7,7 +7,7 @@ find_package(GSettings) set( INDICATOR_DIR - "${CMAKE_INSTALL_DATADIR}/ayatana/indicators" + "${CMAKE_INSTALL_FULL_DATADIR}/ayatana/indicators" CACHE FILEPATH "Ayatana Indicators Directory" ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ab71b9d..90a4732 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -168,7 +168,7 @@ target_link_libraries( install( TARGETS ayatana-indicator-bluetooth-service-bin - RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/ayatana-indicator-bluetooth/ + RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_LIBEXECDIR}/ayatana-indicator-bluetooth/ ) # coverage reporting -- cgit v1.2.3