diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 11:56:40 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 11:56:40 -0400 |
commit | ced61f5722d65525fd4b8dbf96d5ea8f254099c2 (patch) | |
tree | 00c5e10e7a53c7689ec7d560fb348e5edd03e2ec /Modules/CMakeCXXCompiler.cmake.in | |
parent | f9436016401416b21f6dfc30b5a548c909f649bb (diff) | |
download | cmake-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.in | 4 |
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) |