summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@redhat.com>2014-08-26 10:42:40 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-26 10:46:59 (GMT)
commit21d95fe86aabd18a0dd8b50c474ea6ec25ae1642 (patch)
tree1325261501bd8ab90624058f1fedb0889b0c8428
parent0b2686173fced31528d93748ce8dadfef9e6efb3 (diff)
downloadlibkolabxml-21d95fe86aabd18a0dd8b50c474ea6ec25ae1642.tar.gz
Resolve #2722:
libkolabxml ignores LIB_SUFFIX CMake variable. It is usually defined to 64bit systems to "64" to force installing libraries to lib64. This means that self-compiled libkolab is always installed into ${CMAKE_INSTALL_PREFIX}/lib, even on 64bit system that uses ${CMAKE_INSTALL_PREFIX}/lib64.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c348f6f..62c13eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,7 +75,7 @@ endif()
#C++ is required from here on
enable_language(CXX)
-set(LIB_INSTALL_DIR lib CACHE STRING "The directories where to install libraries to")
+set(LIB_INSTALL_DIR lib${LIB_SUFFIX} CACHE STRING "The directories where to install libraries to")
set(INCLUDE_INSTALL_DIR include CACHE STRING "The directory where to install headers to")
set(INCLUDE_INSTALL_DIR ${INCLUDE_INSTALL_DIR}/kolabxml)
set(CMAKECONFIG_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/Libkolabxml )