From 80fa5d597783793afab25d55757254dcf9172716 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Sun, 16 Aug 2009 15:25:03 +0200 Subject: Move the bundled lib location as last hook. --- cmake/FindZIP.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindZIP.cmake') diff --git a/cmake/FindZIP.cmake b/cmake/FindZIP.cmake index e50aedf..bbc3765 100644 --- a/cmake/FindZIP.cmake +++ b/cmake/FindZIP.cmake @@ -12,18 +12,18 @@ IF(ZIP_LIBRARIES AND ZIP_INCLUDE_DIR) ELSE(ZIP_LIBRARIES AND ZIP_INCLUDE_DIR) FIND_PATH(ZIP_INCLUDE_DIR zip.h PATHS - ${CMAKE_SOURCE_DIR}/packaging/windows/LibZip/include /usr/local/include /usr/include + ${CMAKE_SOURCE_DIR}/packaging/windows/LibZip/include NO_DEFAULT_PATH ) FIND_LIBRARY(ZIP_LIBRARIES NAMES zip zip-1 PATH_SUFFIXES lib64 lib PATHS - ${CMAKE_SOURCE_DIR}/packaging/windows/LibZip/ /usr/local /usr + ${CMAKE_SOURCE_DIR}/packaging/windows/LibZip/ ) # handle the QUIETLY and REQUIRED arguments and set ZIP_FOUND to TRUE if -- cgit v1.2.3