summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:39:26 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:24:34 +0000
commit5dbe8eed097cd4cbf91506edc2408d11cf109f6a (patch)
tree6c341e539bb736487d3f07ed6974bd014860b0c0
parent50ed1bf98f6a213227b4ca7d450cb39518bb4a2f (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: Ie7b3be8d74c1eb9e5f09dbe1819d56c2a42653fc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit b094da4bee0954f4e77b8c406d0c760741e31ca4) 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 360873878..02a17c296 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(multimedia)
add_subdirectory(multimediawidgets)