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 <alexey.edelev@qt.io>
This commit is contained in:
Alex Trotsenko 2022-01-05 16:53:29 +02:00
parent 13ca705b48
commit 6076c9fa13

View File

@ -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
)