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
commitfa53e4d69fb4084e7e2443db0091b73d32ded266 (patch)
tree44b1d580586a939ae3022da12bfefa942af58390
parent6f8ab9b353583d96fa0efd83648fc09f2fc26dbb (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(