diff options
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index abb29ea..fdc5aa2 100644 --- a/Source/cmMakefile.cxx +++ b/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; |