diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gui/CMakeLists.txt | 6 | ||||
-rw-r--r-- | bin/tools/CMakeLists.txt | 2 |
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) #}}} |