diff options
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 8d52ee4..4b2f405 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -124,8 +124,11 @@ void cmDSPWriter::OutputDSPFile() cmSystemTools::Error("Bad target type", l->first.c_str()); break; } + // INCLUDE_EXTERNAL_MSPROJECT command only affects the workspace + // so don't build a projectfile for it if ((l->second.GetType() != cmTarget::INSTALL_FILES) - && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS)) + && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS) + && (l->first != "INCLUDE_EXTERNAL_MSPROJECT")) { this->CreateSingleDSP(l->first.c_str(),l->second); } |