Fix configure -cmake -nomake examples -nomake tests
Change-Id: I4cea33ec5a231dc84805cb3e5052e662cc601749 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
e3fe8524ed
commit
52a7d2e3a3
10
configure
vendored
10
configure
vendored
@ -135,12 +135,20 @@ if [ "$CMAKE_MAKEFILES" = "no" ]; then
|
||||
-G Ninja"
|
||||
fi
|
||||
|
||||
for i in "$@"; do
|
||||
while [ "$#" -gt 0 ]; do
|
||||
i="$1"
|
||||
shift
|
||||
if [ "$PASSTHRU" = "yes" ]; then
|
||||
CMAKE_CMDLINE="$CMAKE_CMDLINE
|
||||
$i"
|
||||
else
|
||||
case $i in
|
||||
-nomake|--nomake)
|
||||
arg_capitalized=`echo $1 | tr a-z A-Z`
|
||||
shift
|
||||
CMAKE_CMDLINE="$CMAKE_CMDLINE
|
||||
-DQT_NO_MAKE_${arg_capitalized}=ON"
|
||||
;;
|
||||
-feature-*)
|
||||
VAR=`echo $i | sed 's,^-feature-\(.*\),\1,'`
|
||||
CMAKE_CMDLINE="$CMAKE_CMDLINE
|
||||
|
Loading…
Reference in New Issue
Block a user