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

This commit is contained in:
Andy Cedilnik 2002-11-27 07:41:57 -05:00
parent 9a9f700140
commit a7411d6ceb
1 changed files with 1 additions and 0 deletions

View File

@ -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" ||