summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-27 12:41:57 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-11-27 12:41:57 (GMT)
commita7411d6cebfb6b1455db312e683832b0ef7d4240 (patch)
treec2d231da92a80571201357ed7e43f9b6554de944 /Source/cmSystemTools.cxx
parent9a9f7001403b5e7cca7b489bd2181f0b4640414d (diff)
downloadCMake-a7411d6cebfb6b1455db312e683832b0ef7d4240.zip
CMake-a7411d6cebfb6b1455db312e683832b0ef7d4240.tar.gz
CMake-a7411d6cebfb6b1455db312e683832b0ef7d4240.tar.bz2
Add objective C++ file in the list of C++ files. This may be wrong, but it will fix problems on Mac for now
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index ae758f4..72c9015 100644
--- a/Source/cmSystemTools.cxx
+++ b/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" ||