mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
FindGnuTLS: Add GnuTLS_VERSION
This deprecates the GNUTLS_VERSION result variable. Instead of setting the version from pkg-config, the header files can be used. GnuTLS versions 2.7.2 and later define the GNUTLS_VERSION in `<gnutls/gnutls.h>` header. Earlier versions defined LIBGNUTLS_VERSION. If finding such string in header is not successful, fallback to version from pkg-config is used. Issue: #27088
This commit is contained in:
@@ -31,6 +31,9 @@ Find Modules
|
||||
* The :module:`FindGnuplot` module now provides a ``Gnuplot_VERSION`` result
|
||||
variable. The ``GNUPLOT_VERSION_STRING`` result variable is deprecated.
|
||||
|
||||
* The :module:`FindGnuTLS` module now provides a ``GnuTLS_VERSION`` result
|
||||
variable. The ``GNUTLS_VERSION`` result variable is deprecated.
|
||||
|
||||
* The :module:`FindJasper` module now provides a ``Jasper_VERSION`` result
|
||||
variable. The ``JASPER_VERSION_STRING`` result variable is deprecated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user