[wangle]Fix config.cmake (#8764)

This commit is contained in:
JackBoosY 2019-10-29 02:04:29 +08:00 committed by Robert Schumacher
parent 453394c3f2
commit 203c3e798a
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
Source: wangle
Version: 2019.07.08.00
Version: 2019.07.08.00-1
Build-Depends: fizz, folly, openssl, glog, libevent, double-conversion, boost-system, boost-thread, boost-filesystem, boost-regex, boost-context
Description: Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.

View File

@ -9,11 +9,11 @@ index e50af54..a16cdbb 100644
-set_and_check(WANGLE_CMAKE_DIR "@PACKAGE_CMAKE_INSTALL_DIR@")
+set_and_check(WANGLE_CMAKE_DIR "${PACKAGE_PREFIX_DIR}/share/wangle")
+
+find_package(folly REQUIRED)
+find_package(fizz REQUIRED)
+find_package(folly CONFIG REQUIRED)
+find_package(fizz CONFIG REQUIRED)
+find_package(glog REQUIRED)
+find_package(threads REQUIRED)
+find_package(libevent REQUIRED)
+find_package(Threads REQUIRED)
+find_package(Libevent CONFIG REQUIRED)
if (NOT TARGET wangle::wangle)
include("${WANGLE_CMAKE_DIR}/wangle-targets.cmake")