瀏覽代碼

ENH: Make out of source work on Windows

Andy Cedilnik 22 年之前
父節點
當前提交
f7000fa7b9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmQTWrapUICommand.cxx

+ 1 - 1
Source/cmQTWrapUICommand.cxx

@@ -82,7 +82,7 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& argsIn)
                        m_Makefile->GetCurrentOutputDirectory(),
                        "cxx",false);
       std::string origname;
-      if ( (*j)[0] == '/' )
+      if ( (*j)[0] == '/' || (*j)[1] == ':' )
         {
         origname = *j;
         }