summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:39:11 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-05 01:34:55 +0100
commitfe375a0ff2302bf57f4acddfcd4b6ee9a7a239c1 (patch)
treedf710190a43ebb098c8fdb6e4fcb274b97af2955 /examples
parentf7b941f90faf4a2c00c3fc5d8310afe648010296 (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. Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: If3e2e42c6a1540cf1c7e80bc7c3f3dfc28ee40eb 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 dfe7ee8..27a9c2d 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(mqtt)