diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 22:02:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 22:02:57 (GMT) |
commit | d26cd46989b4e1170cbebc97ae3b6b30395158db (patch) | |
tree | a10cf2510b18cb3344964a97baa2020305ca747c /Modules/CMakeCXXCompiler.cmake.in | |
parent | ced61f5722d65525fd4b8dbf96d5ea8f254099c2 (diff) | |
download | CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.zip CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.tar.gz CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.tar.bz2 |
Only use .CPP .CXX and .C++ do not work by default with g+++.
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCXXCompiler.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in index e1b25d2..d7ae8d9 100644 --- a/Modules/CMakeCXXCompiler.cmake.in +++ b/Modules/CMakeCXXCompiler.cmake.in @@ -22,7 +22,7 @@ IF(CMAKE_COMPILER_IS_MINGW) ENDIF(CMAKE_COMPILER_IS_MINGW) SET(CMAKE_CXX_COMPILER_ID_RUN 1) 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_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) SET(CMAKE_CXX_LINKER_PREFERENCE 30) SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) |