Skip to content
Snippets Groups Projects
Commit c84436fd authored by Stephan Schulz's avatar Stephan Schulz
Browse files

fix Fortran F08 check in CMakeLists.txt

parent 0a75c1eb
Branches
Tags
1 merge request!8Refactor
Pipeline #53760 failed
...@@ -18,7 +18,7 @@ enable_language(CXX) ...@@ -18,7 +18,7 @@ enable_language(CXX)
enable_language(C) enable_language(C)
if (CM_ALL_USE_F08) if (CM_ALL_USE_F08)
if (CM_ALL_FORTRAN) if (NOT CM_ALL_FORTRAN)
message(FATAL_ERROR "Flag for Fortran 08 MPI interface set, while Fortran interface is not enabled!") message(FATAL_ERROR "Flag for Fortran 08 MPI interface set, while Fortran interface is not enabled!")
endif (CM_ALL_FORTRAN) endif (CM_ALL_FORTRAN)
endif (CM_ALL_USE_F08) endif (CM_ALL_USE_F08)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment