summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineFortranCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-25 14:23:14 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-25 14:23:14 (GMT)
commit9211b0d23482c0fee8dc64171cf3524feb1ae446 (patch)
tree4b65eec4b9abab6658d2f35437d9021f8508c941 /Modules/CMakeDetermineFortranCompiler.cmake
parent88bd02a5d1553d31e0d4d8ee6eef599c27abddf2 (diff)
downloadCMake-9211b0d23482c0fee8dc64171cf3524feb1ae446.zip
CMake-9211b0d23482c0fee8dc64171cf3524feb1ae446.tar.gz
CMake-9211b0d23482c0fee8dc64171cf3524feb1ae446.tar.bz2
ENH: Improvied compiler identification robustness
- Write a single source file into the compiler id directory - This avoid requiring the compiler to behave correctly with respect to include rules and the current working directory - Helps to identify cross-compiling toolchains with unusual default behavior
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 1f2ce80..defb5a7 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -94,7 +94,7 @@ IF(NOT CMAKE_Fortran_COMPILER_ID_RUN)
# Try to identify the compiler.
SET(CMAKE_Fortran_COMPILER_ID)
INCLUDE(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake)
- CMAKE_DETERMINE_COMPILER_ID(Fortran FFLAGS ${CMAKE_ROOT}/Modules/CMakeFortranCompilerId.F90)
+ CMAKE_DETERMINE_COMPILER_ID(Fortran FFLAGS CMakeFortranCompilerId.F90)
# Fall back to old is-GNU test.
IF(NOT CMAKE_Fortran_COMPILER_ID)