diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 19:55:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 19:55:10 (GMT) |
commit | 74fb2c64b2b5c0d618ac0c8d093950ac820bccd9 (patch) | |
tree | b3c90f205d60b50b5c007d834042ddb95902f78a /Source | |
parent | 9136914413f193bf7cce4cae160810079d0f6641 (diff) | |
download | CMake-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.txt | 2 |
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 |