summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 18:36:53 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-05 03:18:30 +0000
commit981bf3664c82444c71f787619f235247ae4e30f7 (patch)
tree902d49258092c0c7b914586550a03ae672da4060
parent1c97c17d51c15521fe4ec0992e78a390b3b4e288 (diff)
downloadqtconnectivity-981bf3664c82444c71f787619f235247ae4e30f7.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: I675ce84342fbebf714ae5090a5ef668f28dc198b Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 887f975af5a28d2b4410dcaf8429b864a28240f5) 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 c814e52e..812aa74e 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-qt_examples_build_begin()
+qt_examples_build_begin(EXTERNAL_BUILD)
if(TARGET Qt::Bluetooth)
add_subdirectory(bluetooth)