fix_zlib_detections.diff 919 B

12345678910111213141516171819202122
  1. From: Veit Jahns <idolum@users.sourceforge.net>
  2. Date: Thu, 26 May 2011 11:35:28 +0000 (+0200)
  3. Subject: Fixing ZLIB configuration in shared's CMakeLists
  4. X-Git-Url: http://clucene.git.sourceforge.net/git/gitweb.cgi?p=clucene%2Fclucene;a=commitdiff_plain;h=772481ca94071ddfe65102a451926e4f9aeb4d2c;hp=a834f87bad3543b2a0331cef7202c15ded4245be
  5. Fixing ZLIB configuration in shared's CMakeLists
  6. ---
  7. diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
  8. index 68314a7..3d1975e 100644
  9. --- a/src/shared/CMakeLists.txt
  10. +++ b/src/shared/CMakeLists.txt
  11. @@ -42,7 +42,7 @@ INCLUDE (CheckAtomicFunctions)
  12. find_package(ZLIB)
  13. IF ( ZLIB_FOUND )
  14. SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} )
  15. -ELSEIF ( ZLIB_FOUND )
  16. +ELSE ( ZLIB_FOUND )
  17. MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" )
  18. SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib )
  19. SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR})