diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2013-12-22 12:40:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-22 12:41:29 +0100 |
commit | c574bb6c3c83825d1c7f63dd3fb0bcfec3d3c37e (patch) | |
tree | c0e08b9f6995e312da6750ceeedefc910acd614a /examples/examples.pro | |
parent | 7d35f5c6b7b8b187388523674b4a95585f369d78 (diff) | |
download | qtwebsockets-c574bb6c3c83825d1c7f63dd3fb0bcfec3d3c37e.tar.gz |
Fix SSL examples
Only include ssl examples when ssl is enabled in Qt
Change-Id: I1ab8ec068980c0b6b9f19b47d05ae8fee3d17e79
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r-- | examples/examples.pro | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/examples.pro b/examples/examples.pro index 2589298..76a0e9f 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -2,7 +2,11 @@ TEMPLATE = subdirs SUBDIRS = echoclient \ echoserver \ - sslechoserver \ - sslechoclient \ simplechat qtHaveModule(quick): SUBDIRS += qmlwebsocketclient + +contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) { +SUBDIRS += \ + sslechoserver \ + sslechoclient +} |