diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-02-04 18:45:39 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-02-05 01:52:03 +0100 |
commit | 747caebfca8b92880f960a953f98763adb40ffdf (patch) | |
tree | c7d1d054fb2d563d0680060c5429fee85ee289c9 /examples | |
parent | 000b3224dff57d594d5fffa201da5c958e48fac2 (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: Ie69d2e7c9790c455bea6bac3c32eaaab123a2cec
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 06e36ecc9..ccad90e11 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -qt_examples_build_begin() +qt_examples_build_begin(EXTERNAL_BUILD) if(NOT CMAKE_CROSSCOMPILING) #QTBUG-86533 if(TARGET Qt::WebEngineCore) add_subdirectory(webenginequick) |