vcpkg/ports/fizz/find-zlib.patch

15 lines
374 B
Diff

diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
index 7e3347b..76ee974 100644
--- a/fizz/CMakeLists.txt
+++ b/fizz/CMakeLists.txt
@@ -89,6 +89,9 @@ else()
list(APPEND FIZZ_INCLUDE_DIRECTORIES ${LIBEVENT_INCLUDE_DIR})
endif()
+find_package(ZLIB REQUIRED)
+list(APPEND FIZZ_SHINY_DEPENDENCIES ZLIB::ZLIB)
+
set(FIZZ_HEADER_DIRS
client
crypto