summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:43:16 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:35:59 +0000
commit15c2c891d1aee3ec550ceb1dd244608bd3fa82bc (patch)
tree52f15e11d312dc70633c48028336b166ccce592a
parent76e7e1adb01ebc80d81c8baa6cc8b5f4218f8106 (diff)
downloadqtserialport-15c2c891d1aee3ec550ceb1dd244608bd3fa82bc.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. Task-number: QTBUG-90820 Change-Id: I838201890f1bc77a187b8059d12b285debf10f60 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 14578645e86fb859a1b09f77958d19309f038e57) 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 7d8e3ea..6d9244f 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)