summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-23 23:21:54 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-23 23:21:54 (GMT)
commita8cd326194327b2f740cb7fd8163865bc7649cd5 (patch)
tree524783ffc0d4f925f939fe96f178db5754f6170d /cmake
parented376ea4a8ea5fb2c22d5962fb384ce9d876f8f7 (diff)
downloadlibkolabxml-a8cd326194327b2f740cb7fd8163865bc7649cd5.tar.gz
Fix typo
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindKolabInternal.cmake51
1 files changed, 0 insertions, 51 deletions
diff --git a/cmake/modules/FindKolabInternal.cmake b/cmake/modules/FindKolabInternal.cmake
deleted file mode 100644
index fb9d6a5..0000000
--- a/cmake/modules/FindKolabInternal.cmake
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# The install directory is defined by the CMAKE_INSTALL_PREFIX which defaults to /usr/local if not specified.
-# To install i.e. to /usr use "cmake -DCMAKE_INSTALL_PREFIX=/usr ."
-#
-# The library directory suffix (64/32) is detected automatically based on the available directories in CMAKE_INSTALL_PREFIX
-# The Result of this can be overridden by setting KOLAB_LIB_INSTALL_DIR "cmake -DKOLAB_LIB_INSTALL_DIR=/usr/lib64/ ."
-#
-# The runtime install is controlled by KOLAB_BIN_INSTALL_DIR
-# The header install is controlled by KOLAB_HEADER_INSTALL_DIR
-#
-# KOLAB_INSTALL_DIRECTORIES contains the determined install directories and should be used with install commands
-
-get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
-
-if (${LIB64} STREQUAL "TRUE")
- find_path(LIB32FOUND "${CMAKE_INSTALL_PREFIX}/lib32")
- find_path(LIB64FOUND "${CMAKE_INSTALL_PREFIX}/lib64")
- if (LIB64FOUND)
- set(LIBSUFFIX 64)
- else()
- set(LIBSUFFIX "")
- endif()
-else()
- set(LIBSUFFIX "")
-endif()
-
-if(KOLAB_LIB_INSTALL_DIR)
- message("KOLAB_LIB_INSTALL_DIR specified manually")
-else()
- set(KOLAB_LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIBSUFFIX}")
-endif()
-message("KOLAB_LIB_INSTALL_DIR: ${KOLAB_LIB_INSTALL_DIR}")
-
-if(KOLAB_BIN_INSTALL_DIR)
- message("KOLAB_BIN_INSTALL_DIR specified manually")
-else()
- set(KOLAB_BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
-endif()
-message("KOLAB_BIN_INSTALL_DIR: ${KOLAB_BIN_INSTALL_DIR}")
-
-set(KOLAB_INSTALL_DIRECTORIES RUNTIME DESTINATION "${KOLAB_BIN_INSTALL_DIR}"
- LIBRARY DESTINATION "${KOLAB_LIB_INSTALL_DIR}"
- ARCHIVE DESTINATION "${KOLAB_LIB_INSTALL_DIR}" COMPONENT Devel )
-
-
-if(KOLAB_HEADER_INSTALL_DIR)
- message("KOLAB_HEADER_INSTALL_DIR specified manually")
-else()
- set(KOLAB_HEADER_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/kolab")
-endif()
-message("KOLAB_HEADER_INSTALL_DIR: ${KOLAB_HEADER_INSTALL_DIR}")