mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-20 12:43:19 +02:00
21 lines
741 B
Diff
21 lines
741 B
Diff
From 772481ca94071ddfe65102a451926e4f9aeb4d2c Mon Sep 17 00:00:00 2001
|
|
From: Veit Jahns <idolum@users.sourceforge.net>
|
|
Date: Thu, 26 May 2011 13:35:28 +0200
|
|
Subject: [PATCH] Fixing ZLIB configuration in shared's CMakeLists
|
|
|
|
---
|
|
src/shared/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/src/shared/CMakeLists.txt
|
|
+++ b/src/shared/CMakeLists.txt
|
|
@@ -42,7 +42,7 @@ INCLUDE (CheckAtomicFunctions)
|
|
find_package(ZLIB)
|
|
IF ( ZLIB_FOUND )
|
|
SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} )
|
|
-ELSEIF ( ZLIB_FOUND )
|
|
+ELSE ( ZLIB_FOUND )
|
|
MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" )
|
|
SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib )
|
|
SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR})
|