Ken Martin vor 24 Jahren
Ursprung
Commit
668974b01c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Source/cmDSPWriter.cxx

+ 1 - 1
Source/cmDSPWriter.cxx

@@ -263,7 +263,7 @@ void cmDSPWriter::WriteDSPFile(std::ostream& fout,
       std::string source = cc->first;
       std::string source = cc->first;
       const cmSourceGroup::Commands& commands = cc->second;
       const cmSourceGroup::Commands& commands = cc->second;
 
 
-      if (source != libName)
+      if (source != libName || target.GetType() == cmTarget::UTILITY)
         {
         {
         fout << "# Begin Source File\n\n";
         fout << "# Begin Source File\n\n";