diff options
Diffstat (limited to 'examples/dbus/CMakeLists.txt')
-rw-r--r-- | examples/dbus/CMakeLists.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/examples/dbus/CMakeLists.txt b/examples/dbus/CMakeLists.txt index 065cc76022..79caaf949d 100644 --- a/examples/dbus/CMakeLists.txt +++ b/examples/dbus/CMakeLists.txt @@ -1,14 +1,16 @@ -# Generated from dbus.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -if(NOT TARGET Qt::DBus) +if(NOT TARGET Qt6::DBus) return() endif() -add_subdirectory(listnames) -add_subdirectory(pingpong) -if(QT_FEATURE_process) - add_subdirectory(complexpingpong) +if(NOT ANDROID) + qt_internal_add_example(pingpong) + if(QT_FEATURE_process) + qt_internal_add_example(complexpingpong) + endif() endif() -if(TARGET Qt::Widgets) - add_subdirectory(chat) - add_subdirectory(remotecontrolledcar) +if(TARGET Qt6::Widgets) + qt_internal_add_example(chat) + qt_internal_add_example(remotecontrolledcar) endif() |