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

14 lines
369 B
Diff
Raw Normal View History

2018-05-06 02:01:14 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b0405f4a..43256fc04 100644
2018-05-06 02:01:14 +08:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ else()
2018-05-06 02:01:14 +08:00
endif()
if(WITH_ZLIB)
- find_package(zlib REQUIRED)
+ find_package(ZLIB REQUIRED)
add_definitions(-DZLIB)
include_directories(${ZLIB_INCLUDE_DIR})
list(APPEND THIRDPARTY_LIBS ${ZLIB_LIBRARIES})