summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:35:38 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 04:20:56 +0000
commit21f3e1194cd83189a162985554a44f5c49e08c10 (patch)
tree467b723048ee294399e49b7792152208e7dfefbf
parentc18ce472b840e4f046fc4fa05d9b28bcd7234674 (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: I7bd1fdddfba2b87280ebe8bc0762746ade8da468 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 967130d6613ff2c11b35e7f8c5510cae5a03ad5e) 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 a1d024c06..d06ca6f08 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)
if(QT_FEATURE_qt3d_extras)
add_subdirectory(qt3d)