CMake: Remove the -mp configure option

This configure option is dysfunctional since Qt 6.0. If you really want
to add the /MP compiler option, add it to CMAKE_CXX_FLAGS.

Change-Id: I00b535067944df52abbadb424ec03e53aa41c819
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Joerg Bornemann 2023-05-12 07:53:26 +02:00
parent 9639d11687
commit 360ccedd2c
2 changed files with 0 additions and 2 deletions

View File

@ -75,7 +75,6 @@ The following table describes the mapping of configure options to CMake argument
| -ccache | -DQT_USE_CCACHE=ON | | | -ccache | -DQT_USE_CCACHE=ON | |
| -unity-build | -DQT_UNITY_BUILD=ON | | | -unity-build | -DQT_UNITY_BUILD=ON | |
| -unity-build-batch-size <int> | -DQT_UNITY_BUILD_BATCH_SIZE=<int> | | | -unity-build-batch-size <int> | -DQT_UNITY_BUILD_BATCH_SIZE=<int> | |
| -mp | n/a | |
| -warnings-are-errors | -DWARNINGS_ARE_ERRORS=ON | | | -warnings-are-errors | -DWARNINGS_ARE_ERRORS=ON | |
| -silent | n/a | | | -silent | n/a | |
| -no-gcc-sysroot | n/a | The corresponding CMake variables are CMAKE_SYSROOT_LINK | | -no-gcc-sysroot | n/a | The corresponding CMake variables are CMAKE_SYSROOT_LINK |

View File

@ -78,7 +78,6 @@ qt_commandline_option(make TYPE addString VALUES examples libs tests tools
benchmarks manual-tests minimal-static-tests) benchmarks manual-tests minimal-static-tests)
qt_commandline_option(mips_dsp TYPE boolean) qt_commandline_option(mips_dsp TYPE boolean)
qt_commandline_option(mips_dspr2 TYPE boolean) qt_commandline_option(mips_dspr2 TYPE boolean)
qt_commandline_option(mp TYPE boolean NAME msvc_mp)
qt_commandline_option(nomake TYPE addString VALUES examples tests tools benchmarks qt_commandline_option(nomake TYPE addString VALUES examples tests tools benchmarks
manual-tests minimal-static-tests) manual-tests minimal-static-tests)
qt_commandline_option(opensource TYPE void NAME commercial VALUE no) qt_commandline_option(opensource TYPE void NAME commercial VALUE no)