mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 17:29:08 +08:00
20 lines
722 B
Diff
20 lines
722 B
Diff
diff --git a/wangle/cmake/wangle-config.cmake.in b/wangle/cmake/wangle-config.cmake.in
|
|
index e50af54..a16cdbb 100644
|
|
--- a/wangle/cmake/wangle-config.cmake.in
|
|
+++ b/wangle/cmake/wangle-config.cmake.in
|
|
@@ -12,7 +12,13 @@
|
|
@PACKAGE_INIT@
|
|
|
|
set_and_check(WANGLE_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
-set_and_check(WANGLE_CMAKE_DIR "@PACKAGE_CMAKE_INSTALL_DIR@")
|
|
+set_and_check(WANGLE_CMAKE_DIR "${PACKAGE_PREFIX_DIR}/share/wangle")
|
|
+
|
|
+find_package(folly CONFIG REQUIRED)
|
|
+find_package(fizz CONFIG REQUIRED)
|
|
+find_package(glog REQUIRED)
|
|
+find_package(Threads REQUIRED)
|
|
+find_package(Libevent CONFIG REQUIRED)
|
|
|
|
if (NOT TARGET wangle::wangle)
|
|
include("${WANGLE_CMAKE_DIR}/wangle-targets.cmake")
|