diff options
Diffstat (limited to 'examples/qtestlib/CMakeLists.txt')
-rw-r--r-- | examples/qtestlib/CMakeLists.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/qtestlib/CMakeLists.txt b/examples/qtestlib/CMakeLists.txt index a98c499c00..6f139c87dc 100644 --- a/examples/qtestlib/CMakeLists.txt +++ b/examples/qtestlib/CMakeLists.txt @@ -1,10 +1,11 @@ -# Generated from qtestlib.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -if(NOT QT_BUILD_PARTS___contains___tools OR NOT TARGET Qt::Widgets) +if(NOT TARGET Qt6::Widgets) return() endif() -add_subdirectory(tutorial1) -add_subdirectory(tutorial2) -add_subdirectory(tutorial3) -add_subdirectory(tutorial4) -add_subdirectory(tutorial5) +qt_internal_add_example(tutorial1) +qt_internal_add_example(tutorial2) +qt_internal_add_example(tutorial3) +qt_internal_add_example(tutorial4) +qt_internal_add_example(tutorial5) |