From 74fb2c64b2b5c0d618ac0c8d093950ac820bccd9 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 26 Aug 2004 15:55:10 -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 a48da5aa2..44be14326 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 OPTIONAL) + INCLUDE(${CMake_SOURCE_DIR}/Modules/CMakeDetermineFortranCompiler.cmake) IF(CMAKE_Fortran_COMPILER_FULLPATH) ADD_TEST(Fortran ${CMAKE_CTEST_COMMAND} --build-and-test