summaryrefslogtreecommitdiffstats
path: root/bin/gui
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-04 12:51:13 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-04 12:52:33 +0200
commit7f818c1e29d66ab335b3c232f60ae4b7899a9913 (patch)
tree3ef8798317f9974a02c25f859b63414367e0b846 /bin/gui
parent908c0b3f9c1e8265cc4f12157c2d63de1fa1193f (diff)
downloaduca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.gz
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.bz2
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.xz
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.zip
Use GNUInstallDirs to set install paths
Diffstat (limited to 'bin/gui')
-rw-r--r--bin/gui/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/gui/CMakeLists.txt b/bin/gui/CMakeLists.txt
index 97ddddd..2ca575d 100644
--- a/bin/gui/CMakeLists.txt
+++ b/bin/gui/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.6)
#{{{ Variables
-set(UCA_GLADEDIR "${UCA_DATADIR}/libuca")
+set(CMAKE_INSTALL_GLADEDIR "${CMAKE_INSTALL_DATADIR}/libuca")
#}}}
#{{{ Configure
find_package(PkgConfig)
@@ -34,11 +34,11 @@ if (GTK2_FOUND)
${GTHREAD2_LIBRARIES})
install(TARGETS ${BINARY}
- RUNTIME DESTINATION ${UCA_BINDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT executables)
install(FILES control.glade
- DESTINATION ${UCA_GLADEDIR}
+ DESTINATION ${CMAKE_INSTALL_GLADEDIR}
COMPONENT executables)
endif()
#}}}