mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 11:42:17 +08:00
14 lines
365 B
Diff
14 lines
365 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index fb3b126..45ca7b6 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -86,7 +86,7 @@ else()
|
||
|
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})
|