diff options
author | Brad King <brad.king@kitware.com> | 2008-02-04 15:04:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-04 15:04:23 (GMT) |
commit | c12a7e388d449e96107ba1eea8b8b2f2469ec20f (patch) | |
tree | 46a1f1d7416b3458a5e2094dd990d1aee8aa8ff1 /Modules/CMakeTestCCompiler.cmake | |
parent | e67dc68a3b18f3fb1f7adcb752588c2717dc1986 (diff) | |
download | CMake-c12a7e388d449e96107ba1eea8b8b2f2469ec20f.zip CMake-c12a7e388d449e96107ba1eea8b8b2f2469ec20f.tar.gz CMake-c12a7e388d449e96107ba1eea8b8b2f2469ec20f.tar.bz2 |
BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower.
Diffstat (limited to 'Modules/CMakeTestCCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index b3a4b0d..4499e60 100644 --- a/Modules/CMakeTestCCompiler.cmake +++ b/Modules/CMakeTestCCompiler.cmake @@ -52,7 +52,7 @@ ELSE(NOT CMAKE_C_COMPILER_WORKS) CONFIGURE_FILE( ${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeCCompiler.cmake - @ONLY + @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0 ) ENDIF(CMAKE_C_COMPILER_FORCED) ENDIF(NOT CMAKE_C_COMPILER_WORKS) |