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
commit17cb72362ce6dc6cd8caec2da6d87e53652350f8 (patch)
tree9f1ba46434b4869121eef9f0b598008dd1d67b4a
parentd07ae1bfc7a4b3bf80942ff2e5b75f02dc4ea139 (diff)
downloadqtserialport-17cb72362ce6dc6cd8caec2da6d87e53652350f8.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)