From b99b4f68280550aa044eb792727c0c6c054b3f05 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Fri, 7 May 2021 10:31:10 -0400 Subject: [PATCH] Require CURL in 1.6 builds --- recipes/cpr/all/patches/006-fix-curl-components.patch | 2 +- recipes/cpr/all/patches/008-fix-curl-components.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/cpr/all/patches/006-fix-curl-components.patch b/recipes/cpr/all/patches/006-fix-curl-components.patch index c5bed3ff8966e..9f469f556bddc 100644 --- a/recipes/cpr/all/patches/006-fix-curl-components.patch +++ b/recipes/cpr/all/patches/006-fix-curl-components.patch @@ -20,7 +20,7 @@ - message(FATAL_ERROR "Curl not found on this system. To use the build in version set CPR_FORCE_USE_SYSTEM_CURL to OFF.") - endif() - endif() -+ find_package(CURL) ++ find_package(CURL REQUIRED) + if(CURL_FOUND) + message(STATUS "Curl found on this system.") else() diff --git a/recipes/cpr/all/patches/008-fix-curl-components.patch b/recipes/cpr/all/patches/008-fix-curl-components.patch index 3b91c2b61c447..04da489547e84 100644 --- a/recipes/cpr/all/patches/008-fix-curl-components.patch +++ b/recipes/cpr/all/patches/008-fix-curl-components.patch @@ -20,7 +20,7 @@ - message(FATAL_ERROR "Curl not found on this system. To use the build in version set CPR_FORCE_USE_SYSTEM_CURL to OFF.") - endif() - endif() -+ find_package(CURL) ++ find_package(CURL REQUIRED) + if(CURL_FOUND) + message(STATUS "Curl found on this system.") else()