Skip to content

Commit

Permalink
Fix ZLIB not found error [release-7.1] (#11882)
Browse files Browse the repository at this point in the history
cherrypick #11807

Co-authored-by: Johannes Scheuermann <[email protected]>
  • Loading branch information
jzhou77 and johscheuer authored Jan 15, 2025
1 parent 912ab7e commit 87698e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FDBComponents.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ else()
if(WIN32)
set(OPENSSL_MSVC_STATIC_RT ON)
endif()
# SSL requires ZLIB
find_package(ZLIB REQUIRED)
find_package(OpenSSL)
if(OPENSSL_FOUND)
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
Expand Down

0 comments on commit 87698e1

Please sign in to comment.