diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2022-01-05 16:53:29 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2022-01-08 01:54:18 +0200 |
commit | 6076c9fa137d0f0f8af42647463fb8123dec585a (patch) | |
tree | b88620da2cb0415437804438832267607390a995 /tests/auto/corelib/thread | |
parent | 13ca705b48c5661a6d3b445a5f20c57c9fff9c38 (diff) |
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>
Diffstat (limited to 'tests/auto/corelib/thread')
-rw-r--r-- | tests/auto/corelib/thread/qfuture/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |