aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-01-16 04:18:46 +0800
committernicole mazzuca <mazzucan@outlook.com>2020-01-15 12:18:46 -0800
commited76c7eef2573e785eaf46bb019ac5a08a02e55f (patch)
tree65367829abcae880f0b743231c7cb66ea0b9354f
parent3135a31be7deb0194b8727ae71978bd19bc481c2 (diff)
downloadvcpkg-ed76c7eef2573e785eaf46bb019ac5a08a02e55f.tar.gz
vcpkg-ed76c7eef2573e785eaf46bb019ac5a08a02e55f.zip
[cpr] Add find_dependency to cprConfig.cmake (#9567)
-rw-r--r--ports/cpr/CONTROL2
-rw-r--r--ports/cpr/cprConfig.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/cpr/CONTROL b/ports/cpr/CONTROL
index de5c3478f..6912c8be6 100644
--- a/ports/cpr/CONTROL
+++ b/ports/cpr/CONTROL
@@ -1,5 +1,5 @@
Source: cpr
-Version: 1.3.0-7
+Version: 1.3.0-8
Homepage: https://github.com/whoshuu/cpr
Description: C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.
Build-Depends: curl[core]
diff --git a/ports/cpr/cprConfig.cmake b/ports/cpr/cprConfig.cmake
index 501fcd96a..85e433c4b 100644
--- a/ports/cpr/cprConfig.cmake
+++ b/ports/cpr/cprConfig.cmake
@@ -25,3 +25,7 @@ endmacro()
include("${CMAKE_CURRENT_LIST_DIR}/cprTargets.cmake")
check_required_components("cpr")
+
+include(CMakeFindDependencyMacro)
+find_dependency(ZLIB REQUIRED)
+find_dependency(CURL REQUIRED)