diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2020-06-30 14:27:44 +0200 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2020-06-30 15:21:21 +0200 |
commit | 013b04a381947958facca75465914c5b925480f7 (patch) | |
tree | 24b426e25a07cbd94882de031c2b98c18b04868e /configure | |
parent | 31ae43f87577bea7fe66ad1ba9af0239c7699958 (diff) | |
download | qtbase-013b04a381947958facca75465914c5b925480f7.tar.gz |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |