diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-10 12:58:31 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-10 13:46:28 +0200 |
commit | dc1dd51af3a35728235cb63a31b07ff76a652208 (patch) | |
tree | 3d96ffb242e7a61d3e474ec5f645b55c2f613478 /cmake | |
parent | a6eb7c641b3c6dbd0d5eeda3dbef54211ce95930 (diff) |
CMake: Don't configure examples by default
Users / developers usually configure a single example. The CI
can still continue to explicitly configure and build all examples.
Task-number: QTBUG-84471
Change-Id: I1c9ac857e7ad0e5602037265194f0a6742386b51
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtSetup.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index d892273443..ee88ac8852 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -137,7 +137,7 @@ include(CTest) enable_testing() # Set up building of examples. -set(QT_BUILD_EXAMPLES ON) +set(QT_BUILD_EXAMPLES OFF) # Examples are not built by default with qmake for iOS and friends, and thus the overall build # tends to fail. Disable them by default when targeting uikit. if(UIKIT OR ANDROID) |