aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/chattutorial/CMakeLists.txt
blob: 83744b78cf9f8c86f82ef2348b0f1b3758dff04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 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()