Просмотр исходного кода

Add objective C++ file in the list of C++ files. This may be wrong, but it will fix problems on Mac for now

Andy Cedilnik 23 лет назад
Родитель
Сommit
a7411d6ceb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/cmSystemTools.cxx

+ 1 - 0
Source/cmSystemTools.cxx

@@ -2411,6 +2411,7 @@ cmSystemTools::FileFormat cmSystemTools::GetFileFormat(const char* cext)
   if ( ext == "cxx" || ext == ".cxx" ||
        ext == "cpp" || ext == ".cpp" ||
        ext == "c++" || ext == ".c++" ||
+       ext == "mm" || ext == ".mm" ||
        ext == "cc" || ext == ".cc" ) { return cmSystemTools::CXX_FILE_FORMAT; }
   if ( ext == "java" || ext == ".java" ) { return cmSystemTools::JAVA_FILE_FORMAT; }
   if ( ext == "h" || ext == ".h" ||