Merge topic 'autouic-missed-ui-dependency'

4f577d9f3a AUTOUIC: Fix missed ui files in Ninja deps

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5806
This commit is contained in:
Brad King
2021-02-17 12:05:42 +00:00
committed by Kitware Robot

View File

@@ -1589,14 +1589,14 @@ bool cmQtAutoMocUicT::JobEvalCacheUicT::FindIncludedUi(
};
// Vicinity of the source
if (findUi(cmStrCat(sourceDirPrefix, this->UiName))) {
return true;
}
if (!includePrefix.empty()) {
if (findUi(cmStrCat(sourceDirPrefix, includePrefix, this->UiName))) {
return true;
}
}
if (findUi(cmStrCat(sourceDirPrefix, this->UiName))) {
return true;
}
// Additional AUTOUIC search paths
auto const& searchPaths = this->UicConst().SearchPaths;
if (!searchPaths.empty()) {