summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-10-21 16:04:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-10-21 16:04:26 (GMT)
commit8a1f581bd3236dbd13023a75e73c2644b86abd07 (patch)
tree642006022517af75c90ae53a8f83bbf2d8b848b1
parent017af44ca3df2e377c5807dd4be25284f7406df0 (diff)
downloadCMake-8a1f581bd3236dbd13023a75e73c2644b86abd07.zip
CMake-8a1f581bd3236dbd13023a75e73c2644b86abd07.tar.gz
CMake-8a1f581bd3236dbd13023a75e73c2644b86abd07.tar.bz2
BUG: symlink issue
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index abea00a..ef21a00 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1734,7 +1734,11 @@ cmLocalUnixMakefileGenerator3
symlink += targetOutPathSO;
symlink += " ";
symlink += targetOutPath;
- commands.push_back(symlink);
+ commands1.clear();
+ commands1.push_back(symlink);
+ this->CreateCDCommand(commands1,m_Makefile->GetStartOutputDirectory(),
+ m_Makefile->GetHomeOutputDirectory());
+ commands.insert(commands.end(), commands1.begin(), commands1.end());
}
// Add the post-build rules.