Run DBus tests only if QtDBus is found.
authorStephen Kelly <stephen.kelly@kdab.com>
Mon, 23 Apr 2012 17:24:13 +0000 (19:24 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 15:29:42 +0000 (17:29 +0200)
commit4deaef6979b6904163b9fe2fe1ff34c0753cc947
tree76bd8c26537e99ed06a238bda0d97554814ab25c
parent4544ec931f0cb05d28134dc770629668afe83e5f
Run DBus tests only if QtDBus is found.

It's not enough to check for UNIX because Qt may have been configured
without dbus, or we could be running on APPLE (on which DBus is not
commonly installed).

Change-Id: Ic57200dad42c0c12b292d1066f799c827294fe9a
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
tests/auto/cmake/CMakeLists.txt