From 6076c9fa137d0f0f8af42647463fb8123dec585a Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Wed, 5 Jan 2022 16:53:29 +0200 Subject: [PATCH] tst_qfuture: fix compilation on MSVC Suppress the error: C1128: number of sections exceeded ... limit: compile with /bigobj Fix by setting the correct target in CMake script. Pick-to: 6.2 6.3 Change-Id: If241fbaa70b68ca698dae2d484146e7bac970609 Reviewed-by: Alexey Edelev --- tests/auto/corelib/thread/qfuture/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/thread/qfuture/CMakeLists.txt b/tests/auto/corelib/thread/qfuture/CMakeLists.txt index df5826032d..7844cf31b9 100644 --- a/tests/auto/corelib/thread/qfuture/CMakeLists.txt +++ b/tests/auto/corelib/thread/qfuture/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_test(tst_qfuture Qt::CorePrivate ) -qt_internal_extend_target(tst_qmetatype CONDITION MSVC +qt_internal_extend_target(tst_qfuture CONDITION MSVC COMPILE_OPTIONS /bigobj )