aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:43:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:49:15 +0000
commite0421a7283b8322a9a7a53c58eea525ef84b814c (patch)
tree68b3ec0e57a100c355705a6f47825ad6dd880590
parentb83e473db4a9a6e1aceb16867e65c9eaeb4bbc11 (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: I38f17be68b79efb1472ac97edf8152e460089dc2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 271f37efa6903d2e922701fbc3a2f7183d16ea3e) 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 2bef5939..7e68b02c 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(virtualkeyboard)