summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-10-25 18:08:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-10-25 18:08:17 (GMT)
commit319c3adf2adcb8a5a89c615fff760fed9b2d7e12 (patch)
treea24b5ec3a85e8b3e4e899a7158d47bcc4994661c /Modules/CMakeDetermineCCompiler.cmake
parent8ff7c13227691fb1ca7543951ea7c1678353646f (diff)
downloadCMake-319c3adf2adcb8a5a89c615fff760fed9b2d7e12.zip
CMake-319c3adf2adcb8a5a89c615fff760fed9b2d7e12.tar.gz
CMake-319c3adf2adcb8a5a89c615fff760fed9b2d7e12.tar.bz2
*** empty log message ***
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index 7f793d3..032aa49 100644
--- a/Modules/CMakeDetermineCCompiler.cmake
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -13,12 +13,12 @@ ENDIF(NOT CMAKE_RANLIB)
# test to see if the c compiler is gnu
EXEC_PROGRAM(${CMAKE_C_COMPILER} ARGS -E ${CMAKE_ROOT}/Modules/CMakeTestGNU.c OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT RETURN_VALUE CMAKE_COMPILER_RETURN)
-
IF(NOT CMAKE_COMPILER_RETURN)
IF(${CMAKE_COMPILER_OUTPUT} MATCHES ".*THIS_IS_GNU.*" )
SET(CMAKE_COMPILER_IS_GNUGCC 1)
ENDIF(${CMAKE_COMPILER_OUTPUT} MATCHES ".*THIS_IS_GNU.*" )
ENDIF(NOT CMAKE_COMPILER_RETURN)
+# configure variables set in this file for fast reload later on
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in
${PROJECT_BINARY_DIR}/CMakeCCompiler.cmake)