summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-08-26 19:55:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-08-26 19:55:10 (GMT)
commit74fb2c64b2b5c0d618ac0c8d093950ac820bccd9 (patch)
treeb3c90f205d60b50b5c007d834042ddb95902f78a /Source
parent9136914413f193bf7cce4cae160810079d0f6641 (diff)
downloadCMake-74fb2c64b2b5c0d618ac0c8d093950ac820bccd9.zip
CMake-74fb2c64b2b5c0d618ac0c8d093950ac820bccd9.tar.gz
CMake-74fb2c64b2b5c0d618ac0c8d093950ac820bccd9.tar.bz2
Add a fortran test if there is a fortran compiler
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index a48da5a..44be143 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