Ken Martin 24 лет назад
Родитель
Сommit
668974b01c
1 измененных файлов с 1 добавлено и 1 удалено
  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;
       const cmSourceGroup::Commands& commands = cc->second;
 
-      if (source != libName)
+      if (source != libName || target.GetType() == cmTarget::UTILITY)
         {
         fout << "# Begin Source File\n\n";