summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineFortranCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-18 13:08:49 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-18 13:08:49 (GMT)
commit8780da000ac79365a13e771a01ecac49324f2aae (patch)
tree8a8a61e1a2144a1ba28a61ebb1c6f6de5e969235 /Modules/CMakeDetermineFortranCompiler.cmake
parentaee311a89dd409329375fddd357191817277df7f (diff)
downloadCMake-8780da000ac79365a13e771a01ecac49324f2aae.zip
CMake-8780da000ac79365a13e771a01ecac49324f2aae.tar.gz
CMake-8780da000ac79365a13e771a01ecac49324f2aae.tar.bz2
BUG: If the Fortran CompilerId source fails to compile it should not be a failure. It is only expected to work for Fortran90 compilers.
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 687bb8d..3da3c99 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -81,6 +81,7 @@ IF(NOT CMAKE_Fortran_COMPILER_ID_RUN)
# Try to identify the compiler.
SET(CMAKE_Fortran_COMPILER_ID)
+ SET(CMAKE_Fortran_COMPILER_ID_ALLOW_FAIL 1)
INCLUDE(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake)
CMAKE_DETERMINE_COMPILER_ID(Fortran FFLAGS ${CMAKE_ROOT}/Modules/CMakeFortranCompilerId.F90)