diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2020-06-09 03:02:09 +0200 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2020-06-27 02:58:08 +0200 |
commit | e3fe8524ed05414229712099340b128644fa0f07 (patch) | |
tree | ab916e3826eb4f48ebc9ab1ac30bc007c84e483a /configure | |
parent | ab1e0961d4718fb5e36e22c3b70dd98e776e0edd (diff) | |
download | qtbase-e3fe8524ed05414229712099340b128644fa0f07.tar.gz |
Fix -system-library and -qt-library arguments for configure -cmake
Change-Id: Ief19f2e8cb2996b7d09e2354328d30a67ad801fd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -161,6 +161,16 @@ $i" CMAKE_CMDLINE="$CMAKE_CMDLINE -DFEATURE_${VAR}=OFF" ;; + -system-*|--system-*) + VAR=`echo $i | sed -E 's/-?-system-(.*)/\1/'` + CMAKE_CMDLINE="$CMAKE_CMDLINE +-DFEATURE_system_${VAR}=ON" + ;; + -qt-*|--qt-*) + VAR=`echo $i | sed -E 's/-?-qt-(.*)/\1/'` + CMAKE_CMDLINE="$CMAKE_CMDLINE +-DFEATURE_system_${VAR}=OFF" + ;; --sanitize=*) VAR=`echo $i | sed 's,^--sanitize=\(.*\),\1,'` CMAKE_CMDLINE="$CMAKE_CMDLINE |