Fix configure -cmake -no-pch

Since the CMake build of Qt needs a special flag (BUILD_WITH_PCH)
we need to detect -no-pch separately in the configure script.

Change-Id: If31e129ba532c00a7e0a7ee817dec6a6a0138ebf
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Dimitrios Apostolou 2020-06-30 14:27:44 +02:00
parent 31ae43f875
commit 013b04a381

4
configure vendored
View File

@ -159,6 +159,10 @@ $i"
CMAKE_CMDLINE="$CMAKE_CMDLINE
-DQT_FEATURE_${VAR}=OFF"
;;
-no-pch|--no-pch)
"$CMAKE_CMDLINE
-DBUILD_WITH_PCH=OFF"
;;
-no-*|--no-*)
VAR=`echo $i | sed -E 's/-?-no-(.*)/\1/'`
CMAKE_CMDLINE="$CMAKE_CMDLINE