From 359838ef8d950aa4f90ad9a78a97341cc5dbea2f Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sat, 23 Jul 2016 18:58:31 -0700 Subject: [PATCH] libcurl can be had in a nuget package --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5699a16e..33a0aa14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,11 @@ find_package(PCRE REQUIRED) find_package(Perl REQUIRED) find_package(Threads) find_package(ZLIB REQUIRED) -find_package(CURL REQUIRED) + +if(UNIX) + # Maybe use the nuGet version instead? possibly can do the same for many of the other libs... + find_package(CURL REQUIRED) +endif() if(WIN32) find_package(Iconv REQUIRED)