summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 8dd53e1..a48da5a 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