From 53f9adecf97b4781620347e1409380235f77433b Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 27 Aug 2017 10:00:32 -0400 Subject: [PATCH] externals: Use system curl on Unix/Apple. --- externals/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 8e4bcf21f..890dd3d56 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -57,6 +57,9 @@ if (ENABLE_WEB_SERVICE) # CPR option(BUILD_TESTING OFF) option(BUILD_CPR_TESTS OFF) + if(UNIX OR APPLE) + option(USE_SYSTEM_CURL ON) + endif() add_subdirectory(cpr) target_include_directories(cpr INTERFACE ./cpr/include)