summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.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/CMakeCCompiler.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/CMakeCCompiler.cmake.in')
-rw-r--r--Modules/CMakeCCompiler.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index ad748ee..9ee5e59 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -14,3 +14,4 @@ IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_COMPILER_IS_GNUCC_RUN 1)
+SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)