diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 19:53:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 19:53:11 (GMT) |
commit | 9136914413f193bf7cce4cae160810079d0f6641 (patch) | |
tree | 9a5a71d43ac289ec4dc6e2071d6f2316013f3b00 /Source | |
parent | e803b32b89761c8fa5c0f944e651b456aad9a77f (diff) | |
download | CMake-9136914413f193bf7cce4cae160810079d0f6641.zip CMake-9136914413f193bf7cce4cae160810079d0f6641.tar.gz CMake-9136914413f193bf7cce4cae160810079d0f6641.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 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 |