aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)