summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:42:30 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:33:43 +0000
commite90ddfe4eb3858f2552014f1437b739fff5734a5 (patch)
tree93d5504857884e0a7a0a80b6706529ec481fe6d8
parent56eb38639a2f4119b54a1588e67252d7d1284a43 (diff)
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: I5019b7b7002f45f701f4965c65cce8dddd42c8d7 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 01a57ca84ab275c2f9545e10d1f042c92108f1ac) 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 b2d7229c..8cc93d5f 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
add_subdirectory(sensors)