summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:44:12 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 04:15:59 +0000
commitdbed09bf457365407feb9d375a43e147c7c3305d (patch)
treea49fbb3e30f75cfe3ecc90d4ec33d4a48381b3d5
parent4389a6ac0449f7cd6409f4d7b4c05e12b836a0a8 (diff)
downloadqtwayland-dbed09bf457365407feb9d375a43e147c7c3305d.tar.gz
Switch examples to build as isolated sub-builds part 2
qt_examples_build_begin needs the EXTERNAL_BUILD flag to know that it's safe to build examples as ExternalProjects. It still won't do it in CI until we enable building examples as ExternalProjects for prefix builds. This is preparation for that. Task-number: QTBUG-90820 Change-Id: Ifded6e94bf4d46cbb5aa5c43e96b9dea05a943ba Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 88bc19d0f7eb04d43cef6c5be0e0e31ad4ecf8fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index c1557e88..bcfd4464 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from examples.pro.
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
add_subdirectory(wayland)