summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:43:16 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-05 01:36:17 +0100
commit14578645e86fb859a1b09f77958d19309f038e57 (patch)
treef45b67a2ca75991a2f32a93d38312800e45929a9 /examples
parenta240131252ca2f8d94811fc3c7e695c556295673 (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: I838201890f1bc77a187b8059d12b285debf10f60 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 7d8e3ea7..6d9244f3 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
if(NOT QNX)
add_subdirectory(serialport)