mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-02 06:33:59 +08:00
13 lines
572 B
Diff
13 lines
572 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 1d5710f..c57e2dd 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -331,7 +331,6 @@ if(NOT APPLE AND NOT EMSCRIPTEN AND NOT TARGET ZLIB::ZLIB)
|
||
|
# We want to link against the stub library instead of statically linking anyway,
|
||
|
# so we hack find_library to only consider shared object libraries when looking for libz
|
||
|
set(_CMAKE_FIND_LIBRARY_SUFFIXES_orig ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||
|
- set(CMAKE_FIND_LIBRARY_SUFFIXES .so)
|
||
|
endif()
|
||
|
find_package(ZLIB REQUIRED)
|
||
|
if(ANDROID)
|