From dc1dd51af3a35728235cb63a31b07ff76a652208 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 10 Jun 2020 12:58:31 +0200 Subject: [PATCH] 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 --- cmake/QtSetup.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index d8922734435..ee88ac88522 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)