summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-12-21 15:26:34 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-12-22 23:45:15 +0100
commit7b1fb90b93ced7c0772d726e512da01fad456852 (patch)
tree0c20cecf6451fa20e5ede1ba38f0ac1873860549 /CMakeLists.txt
parent90270f0959d490d56db891809d83c91b3d4b9bf0 (diff)
Remove GnuTLS and gcrypt support
OpenSSL is mandatory now, it is no longer possible to build without https support either.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 1 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2433c6c8..af2ec3a86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,6 @@ enable_testing()
option(REQUIRE_MERGED_USR "Require merged-usr." ON)
option(WITH_DOC "Build all documentation." ON)
-option(WITH_OPENSSL "Build all documentation." ON)
include(CMakeDependentOption)
cmake_dependent_option(WITH_DOC_MANPAGES "Force building manpages." OFF "NOT WITH_DOC" OFF)
cmake_dependent_option(WITH_DOC_GUIDES "Force building guides." OFF "NOT WITH_DOC" OFF)
@@ -93,14 +92,7 @@ if (BERKELEY_FOUND)
set(HAVE_BDB 1)
endif()
-if (WITH_OPENSSL)
- find_package(OpenSSL REQUIRED)
-else()
- find_package(GnuTLS)
- if (GNUTLS_FOUND)
- set(HAVE_GNUTLS 1)
- endif()
-endif()
+find_package(OpenSSL REQUIRED)
# (De)Compressor libraries
find_package(ZLIB REQUIRED)
@@ -146,9 +138,6 @@ if (SECCOMP_FOUND)
set(HAVE_SECCOMP 1)
endif()
-if (NOT HAVE_GNUTLS AND NOT WITH_OPENSSL)
- find_package(GCRYPT REQUIRED)
-endif()
find_package(XXHASH REQUIRED)
# Mount()ing and stat()ing and friends