From 360ccedd2cdaf65e33ef7a2ea361785cc7521486 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 12 May 2023 07:53:26 +0200 Subject: [PATCH] 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 --- cmake/configure-cmake-mapping.md | 1 - qt_cmdline.cmake | 1 - 2 files changed, 2 deletions(-) diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index 937a1fb751..2a794af63b 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -75,7 +75,6 @@ The following table describes the mapping of configure options to CMake argument | -ccache | -DQT_USE_CCACHE=ON | | | -unity-build | -DQT_UNITY_BUILD=ON | | | -unity-build-batch-size | -DQT_UNITY_BUILD_BATCH_SIZE= | | -| -mp | n/a | | | -warnings-are-errors | -DWARNINGS_ARE_ERRORS=ON | | | -silent | n/a | | | -no-gcc-sysroot | n/a | The corresponding CMake variables are CMAKE_SYSROOT_LINK | diff --git a/qt_cmdline.cmake b/qt_cmdline.cmake index ff103123aa..fb2a407326 100644 --- a/qt_cmdline.cmake +++ b/qt_cmdline.cmake @@ -78,7 +78,6 @@ qt_commandline_option(make TYPE addString VALUES examples libs tests tools benchmarks manual-tests minimal-static-tests) qt_commandline_option(mips_dsp 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 manual-tests minimal-static-tests) qt_commandline_option(opensource TYPE void NAME commercial VALUE no)