archrelease: copy trunk to extra-x86_64
[arch-packages.git] / clucene / repos / extra-x86_64 / fix_zlib_detections.diff
blob2b08883f5923a4d41ab84c2f45604cb90a50c42e
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
6 Fixing ZLIB configuration in shared's CMakeLists
7 ---
9 diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
10 index 68314a7..3d1975e 100644
11 --- a/src/shared/CMakeLists.txt
12 +++ b/src/shared/CMakeLists.txt
13 @@ -42,7 +42,7 @@ INCLUDE (CheckAtomicFunctions)
14 find_package(ZLIB)
15 IF ( ZLIB_FOUND )
16 SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} )
17 -ELSEIF ( ZLIB_FOUND )
18 +ELSE ( ZLIB_FOUND )
19 MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" )
20 SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib )
21 SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR})