Pārlūkot izejas kodu

BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path.

Brad King 18 gadi atpakaļ
vecāks
revīzija
b8bd0f80db
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 4 - 0
Source/cmLocalVisualStudio7Generator.cxx

@@ -963,6 +963,10 @@ cmLocalVisualStudio7Generator
     if(cmSystemTools::FileIsFullPath(dir.c_str()))
       {
       std::string rel = this->Convert(dir.c_str(), START_OUTPUT, UNCHANGED);
+      if(rel.empty())
+        {
+        rel = ".";
+        }
       if(rel.size() < dir.size())
         {
         dir = rel;