Fix -system-library and -qt-library arguments for configure -cmake

Change-Id: Ief19f2e8cb2996b7d09e2354328d30a67ad801fd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Dimitrios Apostolou 2020-06-09 03:02:09 +02:00
parent ab1e0961d4
commit e3fe8524ed

10
configure vendored
View File

@ -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