Commit 91369144 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

Add a fortran test if there is a fortran compiler

parent e803b32b
......@@ -618,7 +618,7 @@ IF(BUILD_TESTING)
ENDIF (CTEST_TEST_CTEST)
# see if we can find a fortran compiler on the machine
# if so, add the fortran test and see if it works.
INCLUDE(CMakeDetermineFortranCompiler)
INCLUDE(CMakeDetermineFortranCompiler OPTIONAL)
IF(CMAKE_Fortran_COMPILER_FULLPATH)
ADD_TEST(Fortran ${CMAKE_CTEST_COMMAND}
--build-and-test
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment