Add a fortran test if there is a fortran compiler

This commit is contained in:
Bill Hoffman 2004-08-26 15:55:10 -04:00
parent 9136914413
commit 74fb2c64b2
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ IF(BUILD_TESTING)
ENDIF (CTEST_TEST_CTEST) ENDIF (CTEST_TEST_CTEST)
# see if we can find a fortran compiler on the machine # see if we can find a fortran compiler on the machine
# if so, add the fortran test and see if it works. # if so, add the fortran test and see if it works.
INCLUDE(CMakeDetermineFortranCompiler OPTIONAL) INCLUDE(${CMake_SOURCE_DIR}/Modules/CMakeDetermineFortranCompiler.cmake)
IF(CMAKE_Fortran_COMPILER_FULLPATH) IF(CMAKE_Fortran_COMPILER_FULLPATH)
ADD_TEST(Fortran ${CMAKE_CTEST_COMMAND} ADD_TEST(Fortran ${CMAKE_CTEST_COMMAND}
--build-and-test --build-and-test