瀏覽代碼

BUG: goof in new feature fixed

Ken Martin 20 年之前
父節點
當前提交
e6f9ea3d13
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmMakefile.cxx

+ 1 - 1
Source/cmMakefile.cxx

@@ -1108,7 +1108,7 @@ void cmMakefile::AddLibrary(const char* lname, int shared,
     target_location += "/";
     target_location += "/";
     }  
     }  
   target_location += target.GetFullName(this);
   target_location += target.GetFullName(this);
-  target.SetProperty("LOCATION",target_location.c_str());
+  it->second.SetProperty("LOCATION",target_location.c_str());
   
   
   // Add an entry into the cache
   // Add an entry into the cache
   std::string ltname = lname;
   std::string ltname = lname;