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:
parent
ab1e0961d4
commit
e3fe8524ed
10
configure
vendored
10
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user