From 7f818c1e29d66ab335b3c232f60ae4b7899a9913 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 4 Apr 2017 12:51:13 +0200 Subject: Use GNUInstallDirs to set install paths --- bin/gui/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/gui') 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() #}}} -- cgit v1.2.3