Correctly set simulator_and_device in ios builds

A small logic error that sneaked in during the porting of configure.
We actually want simulator_and_device to be set if input.sdk is
empty, not the other way round.

Change-Id: I8f729fbc48617618f981c70887bd4400e0b2a0c3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Lars Knoll 2016-06-24 14:13:59 +02:00 committed by Lars Knoll
parent 06f55f0695
commit 921df719dc

View File

@ -1012,7 +1012,7 @@
},
"simulator_and_device": {
"description": "Build for both simulator and device",
"condition": "config.ios && input.sdk != ''",
"condition": "config.ios && input.sdk == ''",
"output": [ "publicQtConfig" ]
},
"build_all": {