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
commitb77c39040e6938aee1d881b62f37e61f5b719f52 (patch)
tree88a3e3fbe3fdb50d820bf83fb7c47bdd9f277a08
parent48a22433f105a5227a634fdaf139a3b6aff6c7bc (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)