[cmake-commits] king committed cmInstallTargetGenerator.cxx 1.30 1.31
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 17 17:43:34 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv8248
Modified Files:
cmInstallTargetGenerator.cxx
Log Message:
BUG: Need to use GetSafeDefinition when assigning to a string.
Index: cmInstallTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cmInstallTargetGenerator.cxx 17 May 2007 21:21:52 -0000 1.30
+++ cmInstallTargetGenerator.cxx 17 May 2007 21:43:32 -0000 1.31
@@ -346,8 +346,8 @@
::AddInstallNamePatchRule(std::ostream& os,
const char* destination)
{
- std::string installNameTool = this->Target->GetMakefile()->GetDefinition(
- "CMAKE_INSTALL_NAME_TOOL");
+ std::string installNameTool =
+ this->Target->GetMakefile()->GetSafeDefinition("CMAKE_INSTALL_NAME_TOOL");
// hack: if a new cmake runs on an old build tree, CMAKE_INSTALL_NAME_TOOL
// isn't in the cache, because it was simply hardcoded. To make this work
More information about the Cmake-commits
mailing list