diff options
author | Christian Beier <dontmind@freeshell.org> | 2018-07-08 20:53:43 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2018-07-08 20:53:43 +0200 |
commit | 1781ecda341fb06fd414a4d84bb363b070958ea4 (patch) | |
tree | 7896cec72911bcb4bf8e46fbff046e6f09e4c181 /CMakeLists.txt | |
parent | e775aec64e75d5b3e5580ab2f0a860efe9ce4d1b (diff) | |
download | libtdevnc-1781ecda341fb06fd414a4d84bb363b070958ea4.tar.gz libtdevnc-1781ecda341fb06fd414a4d84bb363b070958ea4.zip |
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8097158..995cbc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |