diff options
author | Brad King <brad.king@kitware.com> | 2008-02-03 22:24:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-03 22:24:50 (GMT) |
commit | bbbb2be765856a8c40e71e5bf6fd703cc3d603aa (patch) | |
tree | 882f0a8a5105bd37ae5fd596242e3c192937b1b1 /Modules/CMakeDetermineCCompiler.cmake | |
parent | dc06ac58817672ca9931a4a4c177e18d679b6573 (diff) | |
download | CMake-bbbb2be765856a8c40e71e5bf6fd703cc3d603aa.zip CMake-bbbb2be765856a8c40e71e5bf6fd703cc3d603aa.tar.gz CMake-bbbb2be765856a8c40e71e5bf6fd703cc3d603aa.tar.bz2 |
BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297.
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 6fdcf00..0f88f89 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -131,7 +131,8 @@ ENDIF(NOT CMAKE_C_COMPILER_ID_RUN) INCLUDE(CMakeFindBinUtils) # configure variables set in this file for fast reload later on -CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in - "${CMAKE_PLATFORM_ROOT_BIN}/CMakeCCompiler.cmake" IMMEDIATE) +CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in + "${CMAKE_PLATFORM_ROOT_BIN}/CMakeCCompiler.cmake" + @ONLY) SET(CMAKE_C_COMPILER_ENV_VAR "CC") |