vcpkg/ports/rocksdb/0003-zlib-findpackage.patch

14 lines
324 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6916fcd..a52c53f 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