[cpr] Add find_dependency to cprConfig.cmake (#9567)

This commit is contained in:
Jack·Boos·Yu 2020-01-16 04:18:46 +08:00 committed by nicole mazzuca
parent 3135a31be7
commit ed76c7eef2
2 changed files with 5 additions and 1 deletions

View File

@ -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]

View File

@ -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)