CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define

pull/3/head
Christian Beier 5 years ago
parent e775aec64e
commit 1781ecda34
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -232,6 +232,10 @@ if(WITH_GCRYPT AND LIBGCRYPT_LIBRARIES)
set(ADDITIONAL_LIBS ${ADDITIONAL_LIBS} ${LIBGCRYPT_LIBRARIES})
endif(WITH_GCRYPT AND LIBGCRYPT_LIBRARIES)
if(GNUTLS_FOUND)
set(LIBVNCSERVER_HAVE_GNUTLS 1)
endif(GNUTLS_FOUND)
if(OPENSSL_FOUND)
set(LIBVNCSERVER_HAVE_LIBSSL 1)
endif(OPENSSL_FOUND)

@ -142,6 +142,9 @@
/* Define to 1 if libgcrypt is present */
#cmakedefine LIBVNCSERVER_WITH_CLIENT_GCRYPT 1
/* Define to 1 if GnuTLS is present */
#cmakedefine LIBVNCSERVER_HAVE_GNUTLS 1
/* Define to 1 if OpenSSL is present */
#cmakedefine LIBVNCSERVER_HAVE_LIBSSL 1

Loading…
Cancel
Save