mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 05:49:01 +08:00
23 lines
812 B
Diff
23 lines
812 B
Diff
diff --git a/wangle/cmake/wangle-config.cmake.in b/wangle/cmake/wangle-config.cmake.in
|
|
index e50af54..e0fd0dc 100644
|
|
--- a/wangle/cmake/wangle-config.cmake.in
|
|
+++ b/wangle/cmake/wangle-config.cmake.in
|
|
@@ -12,7 +12,16 @@
|
|
@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")
|
|
+
|
|
+include(CMakeFindDependencyMacro)
|
|
+find_dependency(folly REQUIRED)
|
|
+find_dependency(fizz REQUIRED)
|
|
+find_dependency(glog REQUIRED)
|
|
+find_dependency(Threads REQUIRED)
|
|
+find_dependency(Libevent REQUIRED)
|
|
+find_dependency(OpenSSL REQUIRED)
|
|
+find_dependency(double-conversion REQUIRED)
|
|
|
|
if (NOT TARGET wangle::wangle)
|
|
include("${WANGLE_CMAKE_DIR}/wangle-targets.cmake")
|