From 9136914413f193bf7cce4cae160810079d0f6641 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 26 Aug 2004 15:53:11 -0400 Subject: [PATCH] Add a fortran test if there is a fortran compiler --- Source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 8dd53e1e2..a48da5aa2 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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