diff options
Diffstat (limited to 'examples/quickcontrols/chattutorial/CMakeLists.txt')
-rw-r--r-- | examples/quickcontrols/chattutorial/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/quickcontrols/chattutorial/CMakeLists.txt b/examples/quickcontrols/chattutorial/CMakeLists.txt index 4da558f2f5..83744b78cf 100644 --- a/examples/quickcontrols/chattutorial/CMakeLists.txt +++ b/examples/quickcontrols/chattutorial/CMakeLists.txt @@ -1,10 +1,16 @@ -# Copyright (C) 2022 The Qt Company Ltd. -# SPDX-License-Identifier: BSD-3-Clause +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause qt_internal_add_example(chapter1) qt_internal_add_example(chapter2) qt_internal_add_example(chapter3) -if (TARGET Qt::Sql) +if (TARGET Qt6::Sql) qt_internal_add_example(chapter4) + if(TARGET chattutorial-chapter4) + set_target_properties(chattutorial-chapter4 PROPERTIES UNITY_BUILD OFF) + endif() qt_internal_add_example(chapter5) + if(TARGET chattutorial-chapter5) + set_target_properties(chattutorial-chapter5 PROPERTIES UNITY_BUILD OFF) + endif() endif() |