qt5base-lts/examples/CMakeLists.txt
Kai Köhne bec264c15f Examples: Use Qt6:: to qualify Qt CMake packages
This is what we promote also in the documentation.

Change-Id: If91aebafe861b0c934acbb2c69afd182abc3345d
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-11-17 19:59:11 +01:00

41 lines
853 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
qt_examples_build_begin(EXTERNAL_BUILD)
add_subdirectory(corelib)
add_subdirectory(embedded)
add_subdirectory(qpa)
if(TARGET Qt6::DBus)
add_subdirectory(dbus)
endif()
if(TARGET Qt6::Network)
add_subdirectory(network)
endif()
if(TARGET Qt6::Test)
add_subdirectory(qtestlib)
endif()
if(TARGET Qt6::Concurrent)
add_subdirectory(qtconcurrent)
endif()
if(TARGET Qt6::Sql)
add_subdirectory(sql)
endif()
if(TARGET Qt6::Widgets)
add_subdirectory(widgets)
endif()
if(TARGET Qt6::Xml)
add_subdirectory(xml)
endif()
if(TARGET Qt6::Gui)
add_subdirectory(gui)
endif()
if(QT_FEATURE_opengl AND TARGET Qt6::Gui)
add_subdirectory(opengl)
endif()
if(QT_FEATURE_vulkan AND TARGET Qt6::Gui)
add_subdirectory(vulkan)
endif()
qt_examples_build_end()