Skip to content

Commit

Permalink
Remove ZLIB_LIBRARIES from dependencies on Windows and append it for …
Browse files Browse the repository at this point in the history
…other platforms
  • Loading branch information
royshil committed Dec 19, 2024
1 parent 833e575 commit 2ab0551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/BuildDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ list(
${grpc_LIBS_RELEASE}
${abseil_LIBS_RELEASE}
${protobuf_LIBS_RELEASE}
${ZLIB_LIBRARIES}
${openssl_LIBS_RELEASE}
openssl::openssl
${c-ares_LIBS_RELEASE}
Expand Down Expand Up @@ -64,6 +63,8 @@ if(WIN32)
shell32
version
ncrypt)
else()
list(APPEND DEPS_LIBRARIES ${ZLIB_LIBRARIES})
endif()
if(APPLE)
list(APPEND DEPS_LIBRARIES resolv)
Expand Down

0 comments on commit 2ab0551

Please sign in to comment.