Fix build with non-OpenSSL SSL-enabled backends
authorAndrew Knight <andrew.knight@digia.com>
Wed, 13 Aug 2014 05:41:16 +0000 (08:41 +0300)
committerAndrew Knight <andrew.knight@digia.com>
Wed, 13 Aug 2014 07:47:10 +0000 (09:47 +0200)
Qt 5.4 introduced the ability to split out the OpenSSL-specific parts
of SSL, so allow users of this configuration to still build the SSL
server.

Change-Id: I03e446c1c0fa4062afe16e58d1b7a80373da12a6
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
src/websockets/websockets.pro

index c9cf6e5..b9a513b 100644 (file)
@@ -40,7 +40,7 @@ SOURCES += \
     $$PWD/qmaskgenerator.cpp \
     $$PWD/qdefaultmaskgenerator_p.cpp
 
-contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
+contains(QT_CONFIG, ssl) | contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
     SOURCES += $$PWD/qsslserver.cpp
     PRIVATE_HEADERS += $$PWD/qsslserver_p.h
 }