summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineFortranCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-03 22:24:50 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-03 22:24:50 (GMT)
commitbbbb2be765856a8c40e71e5bf6fd703cc3d603aa (patch)
tree882f0a8a5105bd37ae5fd596242e3c192937b1b1 /Modules/CMakeDetermineFortranCompiler.cmake
parentdc06ac58817672ca9931a4a4c177e18d679b6573 (diff)
downloadCMake-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/CMakeDetermineFortranCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 52d041f..9623b61 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -134,6 +134,7 @@ ENDIF(NOT CMAKE_Fortran_COMPILER_ID_RUN)
INCLUDE(CMakeFindBinUtils)
# configure variables set in this file for fast reload later on
-CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeFortranCompiler.cmake IMMEDIATE)
+CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in
+ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeFortranCompiler.cmake
+ @ONLY)
SET(CMAKE_Fortran_COMPILER_ENV_VAR "FC")