vcpkg/ports/wangle/build.patch

29 lines
929 B
Diff
Raw Normal View History

diff --git a/wangle/CMakeLists.txt b/wangle/CMakeLists.txt
index dd348b0..4e84a15 100644
--- a/wangle/CMakeLists.txt
+++ b/wangle/CMakeLists.txt
@@ -39,11 +39,12 @@ endif()
find_package(fizz CONFIG REQUIRED)
find_package(Boost REQUIRED COMPONENTS system thread filesystem regex context)
find_package(OpenSSL REQUIRED)
-find_package(Glog REQUIRED)
-find_package(Gflags REQUIRED)
-find_package(Libevent REQUIRED)
+find_package(Glog CONFIG REQUIRED)
+find_package(Gflags CONFIG REQUIRED)
+find_package(Libevent CONFIG REQUIRED)
find_package(DoubleConversion REQUIRED)
find_package(Threads REQUIRED)
+find_package(ZLIB REQUIRED)
if (UNIX AND NOT APPLE)
find_package(Librt)
endif()
@@ -124,6 +125,7 @@ target_include_directories(
PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/..>
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>
+ PRIVATE
${FIZZ_INCLUDE_DIR}
${FOLLY_INCLUDE_DIR}
${Boost_INCLUDE_DIR}