summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-06-14 10:28:04 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-06-14 10:28:04 -0400
commitc15adc922166ca84c03a4ae4f076256a93046ece (patch)
treeff1705ef8e7df2ee9cf3254a9efac569a07e1e0d /Source/cmGlobalVisualStudio71Generator.cxx
parenta014eee86ae91e590a2a554ea89f07de0fac5b81 (diff)
downloadcmake-c15adc922166ca84c03a4ae4f076256a93046ece.tar.gz
BUG: fix sub project path problem
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index 5d3c19d25a..3db033dc3e 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -48,7 +48,8 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
this->WriteSLNHeader(fout);
// Get the home directory with the trailing slash
- std::string homedir = m_CMakeInstance->GetHomeDirectory();
+ #undef GetCurrentDirectory
+ std::string homedir = root->GetMakefile()->GetCurrentDirectory();
homedir += "/";
bool doneAllBuild = false;
bool doneRunTests = false;