return()-related break() insanity is not necessary in qt5
Change-Id: I593c7160e44d51d25dee76c56c2e5580345ab42a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
a0a0b6446c
commit
7d462a2fb4
@ -29,7 +29,7 @@ defineTest(qtAddLibrary) {
|
|||||||
for(var, QT_MODULES) {
|
for(var, QT_MODULES) {
|
||||||
isEqual(QT.$${var}.name, $$1) {
|
isEqual(QT.$${var}.name, $$1) {
|
||||||
qtAddModule($$var, , LIBS)
|
qtAddModule($$var, , LIBS)
|
||||||
return(true):break() # Yes, the break is insanity. But necessary.
|
return(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
error("No module matching library '$$1' found.")
|
error("No module matching library '$$1' found.")
|
||||||
|
Loading…
Reference in New Issue
Block a user