summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:37:10 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-08 16:55:08 +0000
commit4cb20e3347bad8f06ab6b8ebba0497b568282126 (patch)
tree80a1b31908195b09eabd5b863680bac05e39fe4a
parent7829a6d5a413a6a9b17b4f0e96e649501a728ecb (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: I19712719eb9fe73b451d852571aea2263ce0962b Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit b9abfbd76d7f5c749bd6531fa55a272728e01a7a) 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 5b2f563c..54d480c3 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
add_subdirectory(datavisualization)