summaryrefslogtreecommitdiffstats
path: root/bin/gui
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gui')
-rw-r--r--bin/gui/CMakeLists.txt2
-rw-r--r--bin/gui/config.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/gui/CMakeLists.txt b/bin/gui/CMakeLists.txt
index 2ca575d..e5b30e5 100644
--- a/bin/gui/CMakeLists.txt
+++ b/bin/gui/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.6)
#{{{ Variables
-set(CMAKE_INSTALL_GLADEDIR "${CMAKE_INSTALL_DATADIR}/libuca")
+set(CMAKE_INSTALL_GLADEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/libuca")
#}}}
#{{{ Configure
find_package(PkgConfig)
diff --git a/bin/gui/config.h.in b/bin/gui/config.h.in
index 1386cbf..7d4d5a0 100644
--- a/bin/gui/config.h.in
+++ b/bin/gui/config.h.in
@@ -1 +1 @@
-#define CONTROL_GLADE_PATH "${UCA_GLADEDIR}/control.glade"
+#define CONTROL_GLADE_PATH "${CMAKE_INSTALL_GLADEDIR}/control.glade"