summaryrefslogtreecommitdiffstats
path: root/bin
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
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')
-rw-r--r--bin/gui/CMakeLists.txt6
-rw-r--r--bin/tools/CMakeLists.txt2
2 files changed, 4 insertions, 4 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()
#}}}
diff --git a/bin/tools/CMakeLists.txt b/bin/tools/CMakeLists.txt
index 977af28..6eb99eb 100644
--- a/bin/tools/CMakeLists.txt
+++ b/bin/tools/CMakeLists.txt
@@ -27,6 +27,6 @@ foreach (BINARY ${BINARIES})
endforeach ()
install(TARGETS uca-benchmark uca-grab uca-gen-doc uca-info
- RUNTIME DESTINATION ${UCA_BINDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT executables)
#}}}