summaryrefslogtreecommitdiff
path: root/Modules/CMakeCXXCompiler.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-09-02 11:56:40 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2010-09-02 11:56:40 -0400
commitced61f5722d65525fd4b8dbf96d5ea8f254099c2 (patch)
tree00c5e10e7a53c7689ec7d560fb348e5edd03e2ec /Modules/CMakeCXXCompiler.cmake.in
parentf9436016401416b21f6dfc30b5a548c909f649bb (diff)
downloadcmake-ced61f5722d65525fd4b8dbf96d5ea8f254099c2.tar.gz
Let CMake recognize .CPP .CXX and .C++ as c++ files.
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r--Modules/CMakeCXXCompiler.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in
index b264da1c99..e1b25d2227 100644
--- a/Modules/CMakeCXXCompiler.cmake.in
+++ b/Modules/CMakeCXXCompiler.cmake.in
@@ -21,8 +21,8 @@ IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
-SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
-SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm)
+SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
+SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;C++;CC;CPP;CXX)
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)