summaryrefslogtreecommitdiff
path: root/CMake
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 /CMake
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 'CMake')
-rw-r--r--CMake/FindGCRYPT.cmake25
-rw-r--r--CMake/config.h.in6
2 files changed, 0 insertions, 31 deletions
diff --git a/CMake/FindGCRYPT.cmake b/CMake/FindGCRYPT.cmake
deleted file mode 100644
index 56bfc9fef..000000000
--- a/CMake/FindGCRYPT.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-# - Try to find GCRYPT
-# Once done, this will define
-#
-# GCRYPT_FOUND - system has GCRYPT
-# GCRYPT_INCLUDE_DIRS - the GCRYPT include directories
-# GCRYPT_LIBRARIES - the GCRYPT library
-find_package(PkgConfig)
-
-pkg_check_modules(GCRYPT_PKGCONF libgcrypt)
-
-find_path(GCRYPT_INCLUDE_DIRS
- NAMES gcrypt.h
- PATHS ${GCRYPT_PKGCONF_INCLUDE_DIRS}
-)
-
-
-find_library(GCRYPT_LIBRARIES
- NAMES gcrypt
- PATHS ${GCRYPT_PKGCONF_LIBRARY_DIRS}
-)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(GCRYPT DEFAULT_MSG GCRYPT_INCLUDE_DIRS GCRYPT_LIBRARIES)
-
-mark_as_advanced(GCRYPT_INCLUDE_DIRS GCRYPT_LIBRARIES)
diff --git a/CMake/config.h.in b/CMake/config.h.in
index db22ac0a2..ced74d8d8 100644
--- a/CMake/config.h.in
+++ b/CMake/config.h.in
@@ -5,9 +5,6 @@
/* Define if we have the timegm() function */
#cmakedefine HAVE_TIMEGM
-/* Define if we have the gnutls library for TLS */
-#cmakedefine HAVE_GNUTLS
-
/* Define if we have the zlib library for gzip */
#cmakedefine HAVE_ZLIB
@@ -32,9 +29,6 @@
/* Define if we have the seccomp library */
#cmakedefine HAVE_SECCOMP
-/* Define if we want to use the openssl libraries */
-#cmakedefine WITH_OPENSSL
-
/* These two are used by the statvfs shim for glibc2.0 and bsd */
/* Define if we have sys/vfs.h */
#cmakedefine HAVE_VFS_H