summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:43:32 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:42:04 +0000
commitb48fa2a63becd74b32a2c503201685f29e0879cb (patch)
tree945684a0fed861ce3a298afb30fa441eb5b9c838
parent2026ad2ea9b7cb90a4e0013826cfee1d5a8c6a31 (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: I4131ac5b6ea09b8f53752442b8edff8409ebaef7 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit a9a5b6a47e3f97b42f388f062af5b11cd543fbde) 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 8a360b99e..9407f84b5 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)
qt_exclude_tool_directories_from_default_target(