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
commit9b9653c75e4c4c182cd8802d49406e8c01ac99fa (patch)
tree825be7094402e473014710711e3084b6727c2e92
parentfc60a42427befb4a8216d47fec0d156832ebda09 (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)