From 5e770a07c8fd649340e83725f6d07b94c361e87c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 24 Sep 2017 20:33:49 +0200 Subject: Drop curl method and apt-transport-https package This automatically removes any old apt-transport-https, as apt now Breaks it unversioned. --- CMakeLists.txt | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e5a78706b..04a8be22a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,22 +75,6 @@ if (BERKELEY_DB_FOUND) set(HAVE_BDB 1) endif() - -# apt-transport-https dependencies -option(WITH_CURL "Build curl-based methods" ON) -option(FORCE_CURL "Use curl-based methods" OFF) -if (FORCE_CURL AND NOT WITH_CURL) - message(FATAL_ERROR "Cannot set FORCE_CURL=ON with WITH_CURL=OFF") -endif() -if (WITH_CURL) - find_package(CURL REQUIRED) - if (CURL_FOUND) - set(HAVE_CURL 1) - endif() -else() - set(HAVE_CURL 0) -endif() - find_package(GnuTLS REQUIRED) if (GNUTLS_FOUND) set(HAVE_GNUTLS 1) -- cgit v1.2.3