summaryrefslogtreecommitdiff
path: root/cmake/modules/FindKolabInternal.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindKolabInternal.cmake')
-rw-r--r--cmake/modules/FindKolabInternal.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/modules/FindKolabInternal.cmake b/cmake/modules/FindKolabInternal.cmake
index b187875..6e0c4ca 100644
--- a/cmake/modules/FindKolabInternal.cmake
+++ b/cmake/modules/FindKolabInternal.cmake
@@ -28,6 +28,18 @@ else ()
endif()
endif ()
+#With cmake 2.6 on 64bit the libraries are not correctly detected, which is afaik a bug. Therefore we workaround the issue by providing some hints manually.
+if(FIND_LIBRARY_PATHS)
+ message("FIND_LIBRARY_PATHS specified manually")
+else()
+ set(FIND_LIBRARY_PATHS
+ /usr/lib
+ /usr/lib64
+ /lib
+ /lib64)
+endif()
+message("FIND_LIBRARY_PATHS: ${FIND_LIBRARY_PATHS}")
+
if(KOLAB_LIB_INSTALL_DIR)
message("KOLAB_LIB_INSTALL_DIR specified manually")
else()