diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-01-31 10:31:33 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-01-31 10:31:33 +0100 |
commit | 13d8a6c9c2960158722e09f44d1fe6366d753392 (patch) | |
tree | 96f460f9003e4185fb52aa799370724e55d4939e | |
parent | 502e97df1aa74c35818e708188d3784124bcc7e7 (diff) | |
download | libtdevnc-13d8a6c9.tar.gz libtdevnc-13d8a6c9.zip |
CMake: set OpenSSL include dir regardless of websockets being enabled or not
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 56fc125..616e518 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,7 +208,6 @@ if(WITH_WEBSOCKETS AND LIBVNCSERVER_HAVE_SYS_UIO_H) message(STATUS "Building websockets with OpenSSL") set(WEBSOCKET_LIBRARIES ${RESOLV_LIB} ${OPENSSL_LIBRARIES}) set(WSSRCS ${LIBVNCSERVER_DIR}/rfbssl_openssl ${LIBVNCSERVER_DIR}/rfbcrypto_openssl) - include_directories(${OPENSSL_INCLUDE_DIR}) else() message(STATUS "Building websockets without SSL") set(WEBSOCKET_LIBRARIES ${RESOLV_LIB}) @@ -310,6 +309,7 @@ elseif(OPENSSL_FOUND) ${LIBVNCCLIENT_SOURCES} ${LIBVNCCLIENT_DIR}/tls_openssl.c ) + include_directories(${OPENSSL_INCLUDE_DIR}) else() set(LIBVNCCLIENT_SOURCES ${LIBVNCCLIENT_SOURCES} |