about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rocksdb/0001-findzlib.patch
blob: eb532620773ea7eef5de41a6ad5f505b1fd30301 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 132d3b0..37fec63 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,7 +92,7 @@ else()
   endif()
 
   if(WITH_ZLIB)
-    find_package(zlib REQUIRED)
+	  find_package(ZLIB REQUIRED)
     add_definitions(-DZLIB)
     if(ZLIB_INCLUDE_DIRS)
       # CMake 3