summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:38:54 +0100
committerAndreas Buhr <andreas.buhr@qt.io>2022-02-11 20:28:35 +0100
commitfe3ee99e66ba4926c9251859646b722be47ae111 (patch)
treeedbb96f5620738bf73e7f1581ec9dc8a76a44683 /examples
parentf7ed73860f73af96058044f99a4dd3771f111829 (diff)
downloadqtlocation-fe3ee99e66ba4926c9251859646b722be47ae111.tar.gz
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. Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I4851a3d8b1b23d2aa1ef7135c08ae83c5276e737 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index a87e6e14..b8a29eeb 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)
# TODO: Enable location examples later!
# if(TARGET Qt::Location AND TARGET Qt::Positioning)