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:
Oswald Buddenhagen 2013-10-21 16:45:15 +02:00 committed by The Qt Project
parent a0a0b6446c
commit 7d462a2fb4

View File

@ -29,7 +29,7 @@ defineTest(qtAddLibrary) {
for(var, QT_MODULES) {
isEqual(QT.$${var}.name, $$1) {
qtAddModule($$var, , LIBS)
return(true):break() # Yes, the break is insanity. But necessary.
return(true)
}
}
error("No module matching library '$$1' found.")