aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-04 22:46:47 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-05 08:02:44 +0200
commita1c03e0a0f2e862f57f2f733067f2c0927568b98 (patch)
tree2be6cd352faf71d9af95e9ce4b1c6319df6e88cb /data/CMakeLists.txt
parentca5dc697b17b4cb724dc5b82fa8410621a74a11a (diff)
downloadayatana-indicator-sound-a1c03e0a0f2e862f57f2f733067f2c0927568b98.tar.gz
ayatana-indicator-sound-a1c03e0a0f2e862f57f2f733067f2c0927568b98.tar.bz2
ayatana-indicator-sound-a1c03e0a0f2e862f57f2f733067f2c0927568b98.zip
Use CMAKE_INSTALL_FULL_*DIR locations for installation
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 2a1549b..e9ed905 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"
)
@@ -75,10 +75,10 @@ endif()
#########################################
-set(POLKIT_LIB_DIR "${CMAKE_INSTALL_LOCALSTATEDIR}/lib/polkit-1")
-set(POLKIT_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/polkit-1")
-set(DBUS_IFACE_DIR "${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces")
-set(ACCOUNTS_IFACE_DIR "${CMAKE_INSTALL_PREFIX}/share/accountsservice/interfaces")
+set(POLKIT_LIB_DIR "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/polkit-1")
+set(POLKIT_DATA_DIR "${CMAKE_INSTALL_FULL_DATADIR}/polkit-1")
+set(DBUS_IFACE_DIR "${CMAKE_INSTALL_FULL_DATADIR}/dbus-1/interfaces")
+set(ACCOUNTS_IFACE_DIR "${CMAKE_INSTALL_FULL_DATADIR}/accountsservice/interfaces")
install(FILES org.ayatana.indicator.sound.AccountsService.xml
DESTINATION "${DBUS_IFACE_DIR}"