瀏覽代碼

Merge topic 'autouic-missed-ui-dependency'

4f577d9f3a AUTOUIC: Fix missed ui files in Ninja deps

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5806
Brad King 4 年之前
父節點
當前提交
88313686b7
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Source/cmQtAutoMocUic.cxx

+ 3 - 3
Source/cmQtAutoMocUic.cxx

@@ -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()) {