summaryrefslogtreecommitdiff
path: root/cmake/FindZIP.cmake
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-08-16 15:25:03 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-08-16 15:25:03 +0200
commit80fa5d597783793afab25d55757254dcf9172716 (patch)
tree7340ac474acf2750ca963f21dffaf80b1bb6d748 /cmake/FindZIP.cmake
parentcf25a01ac556f9674e638422aacd0106ba16e71d (diff)
Move the bundled lib location as last hook.
Diffstat (limited to 'cmake/FindZIP.cmake')
-rw-r--r--cmake/FindZIP.cmake4
1 files changed, 2 insertions, 2 deletions
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