summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-02 13:05:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-02 13:05:28 (GMT)
commit3173c93756475f398ae88584dbdd143e99711a4c (patch)
treef2d4ca9a3189302917b8b6bd90b163cff82481f5
parent0e9ff1cb3b708bad57f5b13c353680db7d06b305 (diff)
parent7b5bc2c6f078480a76d75f1c23b7b32537d2efa9 (diff)
downloadCMake-3173c93756475f398ae88584dbdd143e99711a4c.zip
CMake-3173c93756475f398ae88584dbdd143e99711a4c.tar.gz
CMake-3173c93756475f398ae88584dbdd143e99711a4c.tar.bz2
Merge topic 'Fortran-explicit-types'
7b5bc2c Fortran: Use explicit type in Fortran 90 check
-rw-r--r--Modules/CMakeTestFortranCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestFortranCompiler.cmake b/Modules/CMakeTestFortranCompiler.cmake
index e263345..b9e77c5 100644
--- a/Modules/CMakeTestFortranCompiler.cmake
+++ b/Modules/CMakeTestFortranCompiler.cmake
@@ -72,7 +72,7 @@ else()
message(STATUS "Checking whether ${CMAKE_Fortran_COMPILER} supports Fortran 90")
file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompilerF90.f90 "
PROGRAM TESTFortran90
- stop = 1 ; do while ( stop .eq. 0 ) ; end do
+ integer stop ; stop = 1 ; do while ( stop .eq. 0 ) ; end do
END PROGRAM TESTFortran90
")
try_compile(CMAKE_Fortran_COMPILER_SUPPORTS_F90 ${CMAKE_BINARY_DIR}