Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
74fb2c64
Commit
74fb2c64
authored
Aug 26, 2004
by
Bill Hoffman
Browse files
Add a fortran test if there is a fortran compiler
parent
91369144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CMakeLists.txt
View file @
74fb2c64
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment