summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-11-12 14:21:36 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-11-12 14:21:36 (GMT)
commit668974b01cb5eb8c3cb7409d3c319302b73b7bb4 (patch)
treee68f5f59130b610db2ccae8880e200b452f510bd /Source/cmDSPWriter.cxx
parent9f7df4b56a1797aca625182625062d8fa2bcad5a (diff)
downloadCMake-668974b01cb5eb8c3cb7409d3c319302b73b7bb4.zip
CMake-668974b01cb5eb8c3cb7409d3c319302b73b7bb4.tar.gz
CMake-668974b01cb5eb8c3cb7409d3c319302b73b7bb4.tar.bz2
minor fix
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 22d193d..e1ef3b4 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -263,7 +263,7 @@ void cmDSPWriter::WriteDSPFile(std::ostream& fout,
std::string source = cc->first;
const cmSourceGroup::Commands& commands = cc->second;
- if (source != libName)
+ if (source != libName || target.GetType() == cmTarget::UTILITY)
{
fout << "# Begin Source File\n\n";