Ver Fonte

BUG: goof in new feature fixed

Ken Martin há 20 anos atrás
pai
commit
e6f9ea3d13
1 ficheiros alterados com 1 adições e 1 exclusões
  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.GetFullName(this);
-  target.SetProperty("LOCATION",target_location.c_str());
+  it->second.SetProperty("LOCATION",target_location.c_str());
   
   // Add an entry into the cache
   std::string ltname = lname;