瀏覽代碼

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 年之前
父節點
當前提交
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" ||