summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index 07ad24d..d86ba2a 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -172,7 +172,7 @@ void cmDSWWriter::WriteDSWFile(std::ostream& fout)
}
}
// Write the project into the DSW file
- if (l->first == "INCLUDE_EXTERNAL_MSPROJECT")
+ if (l->first.compare(0,26, "INCLUDE_EXTERNAL_MSPROJECT") == 0)
{
cmCustomCommand cc = l->second.GetCustomCommands()[0];