summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-10-12 13:06:33 (GMT)
committerBrad King <brad.king@kitware.com>2010-10-12 13:06:33 (GMT)
commit8f0a70e5f03eabed8ba25ccf0c47bcbff1f4ff92 (patch)
treefb6b215bad3c7a2db9652c29f2ccc1eda9998dd7 /Source/cmGlobalXCodeGenerator.cxx
parent3810da1a73de50da76aa014876e606819d51a945 (diff)
downloadCMake-8f0a70e5f03eabed8ba25ccf0c47bcbff1f4ff92.zip
CMake-8f0a70e5f03eabed8ba25ccf0c47bcbff1f4ff92.tar.gz
CMake-8f0a70e5f03eabed8ba25ccf0c47bcbff1f4ff92.tar.bz2
Xcode: Recognize .hh as C++ (#11307)
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 0976a4d..2f7bc44 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -643,7 +643,7 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf,
sourcecode += ".c.h";
}
else if(ext == "hxx" || ext == "hpp" || ext == "txx"
- || ext == "pch")
+ || ext == "pch" || ext == "hh")
{
sourcecode += ".cpp.h";
}