diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-07 11:18:28 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-07 11:18:28 +0200 |
commit | 3b7cea599ccda5b7bd067b2c1bda3f99565c77c3 (patch) | |
tree | be3483d77c3bb26db913ade5a4f7c03ae8846fbe | |
parent | 61193820ca1797e673906134ccf7b43c735cef8d (diff) | |
download | uca-3b7cea599ccda5b7bd067b2c1bda3f99565c77c3.tar.gz uca-3b7cea599ccda5b7bd067b2c1bda3f99565c77c3.tar.bz2 uca-3b7cea599ccda5b7bd067b2c1bda3f99565c77c3.tar.xz uca-3b7cea599ccda5b7bd067b2c1bda3f99565c77c3.zip |
control: fix load path of UI file
-rw-r--r-- | bin/gui/CMakeLists.txt | 2 | ||||
-rw-r--r-- | bin/gui/config.h.in | 2 |
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" |