CMake: Do not warn about UNINITIALIZED variables

This so called type is not documented to exist but apparently widely used.

Change-Id: I0a7693e19874887a6e7260964d119d204e5be1ec
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-03 18:07:18 +01:00
committed by Tim Jenssen
parent 7150c0778b
commit 708cb1301f

View File

@@ -147,7 +147,7 @@ CMakeConfigItem::Type CMakeConfigItem::typeStringToType(const QByteArray &type)
if (type == "STATIC")
return CMakeConfigItem::STATIC;
QTC_CHECK(type == "INTERNAL");
QTC_CHECK(type == "INTERNAL" || type == "UNINITIALIZED");
return CMakeConfigItem::INTERNAL;
}