diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-04-18 22:53:08 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-04-18 22:53:08 +0200 |
commit | 2197b415f264aa3acfcd70bee1bbac510e560270 (patch) | |
tree | f6e54041be45ad21667c5de5e9064826ee9f32c4 /CMakeLists.txt | |
parent | 6d4bb07ea6abf82231ccd3699357b13ae113bb18 (diff) | |
download | libtdevnc-2197b415f264aa3acfcd70bee1bbac510e560270.tar.gz libtdevnc-2197b415f264aa3acfcd70bee1bbac510e560270.zip |
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d00d5c..410f059 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,9 @@ if(WITH_GCRYPT AND LIBGCRYPT_LIBRARIES) set(ADDITIONAL_LIBS ${ADDITIONAL_LIBS} ${LIBGCRYPT_LIBRARIES}) endif(WITH_GCRYPT AND LIBGCRYPT_LIBRARIES) +if(OPENSSL_FOUND) + set(LIBVNCSERVER_HAVE_LIBSSL 1) +endif(OPENSSL_FOUND) if(WITH_IPv6) if(WIN32 AND LIBVNCSERVER_HAVE_WS2TCPIP_H AND LIBVNCSERVER_HAVE_VPRINTF) |