diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 268e6ba..0121b02 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -38,7 +38,7 @@ if(NOT USE_SYSTEM_CPR) set(CPR_FORCE_USE_SYSTEM_CURL ON) else() message(WARNING "libcurl is too new to work with CPR, so we let CPR build its own (use -DCPR_FORCE_USE_SYSTEM_CURL=ON to change this behavior)") - set(CPR_FORCE_USE_SYSTEM_CURL ON) + set(CPR_FORCE_USE_SYSTEM_CURL OFF) endif() else() message(WARNING "CPR_FORCE_USE_SYSTEM_CURL is set to ${CPR_FORCE_USE_SYSTEM_CURL} by the user")