From ed76c7eef2573e785eaf46bb019ac5a08a02e55f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Thu, 16 Jan 2020 04:18:46 +0800 Subject: [PATCH] [cpr] Add find_dependency to cprConfig.cmake (#9567) --- ports/cpr/CONTROL | 2 +- ports/cpr/cprConfig.cmake | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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)