diff options
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r-- | Source/cmDSWWriter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx index 147ac0b..52a69c4 100644 --- a/Source/cmDSWWriter.cxx +++ b/Source/cmDSWWriter.cxx @@ -252,8 +252,9 @@ void cmDSWWriter::WriteProject(std::ostream& fout, if(j->first != dspname) { // is the library part of this DSW ? If so add dependency + std::string libPath = j->first + "_CMAKE_PATH"; const char* cacheValue - = m_Makefile->GetDefinition(j->first.c_str()); + = m_Makefile->GetDefinition(libPath.c_str()); if(cacheValue) { fout << "Begin Project Dependency\n"; |