FindGnuTLS — CMake 3.29.5 Documentation

# FindGnuTLS

Find the GNU Transport Layer Security library (gnutls)

## IMPORTED Targets

Added in version 3.16.

This module defines `IMPORTED` target `GnuTLS::GnuTLS`, if gnutls has been found.

## Result Variables

`GNUTLS_FOUND`

  System has gnutls

`GNUTLS_INCLUDE_DIR`

  The gnutls include directory

`GNUTLS_LIBRARIES`

  The libraries needed to use gnutls

`GNUTLS_DEFINITIONS`

  Compiler switches required for using gnutls

`GNUTLS_VERSION`

  version of gnutls.