summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompiler.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-03 16:03:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-03 16:03:41 (GMT)
commitc2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1 (patch)
tree7381defd6dbc2d6532291eecb6c00d5c17b8f5f4 /Modules/CMakeCXXCompiler.cmake.in
parent652823dc8356272b0253718f56a9693872785cc9 (diff)
downloadCMake-c2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1.zip
CMake-c2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1.tar.gz
CMake-c2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1.tar.bz2
ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r--Modules/CMakeCXXCompiler.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in
index 4324b98..fb533e4 100644
--- a/Modules/CMakeCXXCompiler.cmake.in
+++ b/Modules/CMakeCXXCompiler.cmake.in
@@ -3,3 +3,4 @@ SET(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@)
SET(CMAKE_CXX_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_GNUCC_RUN 1)
+SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm)