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>
This commit is contained in:
parent
a6eb7c641b
commit
dc1dd51af3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user