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

fix Fortran2008 define in CMake

parent 45a6a31d
Branches
Tags
No related merge requests found
Pipeline #90572 passed
...@@ -114,7 +114,7 @@ if(CM_ALL_FORTRAN_ERROR_ABORT) ...@@ -114,7 +114,7 @@ if(CM_ALL_FORTRAN_ERROR_ABORT)
endif() endif()
if(CM_ALL_USE_F08 AND MPI_Fortran_HAVE_F08_MODULE) if(CM_ALL_USE_F08 AND MPI_Fortran_HAVE_F08_MODULE)
add_compile_definitions("DALL_USE_F08") add_compile_definitions("ALL_USE_F08")
elseif(CM_ALL_USE_F08 AND NOT MPI_Fortran_HAVE_F08_MODULE) elseif(CM_ALL_USE_F08 AND NOT MPI_Fortran_HAVE_F08_MODULE)
message(FATAL_ERROR "Fortran 2008 MPI chosen, but MPI installation does not support the Fortran 2008 modules") message(FATAL_ERROR "Fortran 2008 MPI chosen, but MPI installation does not support the Fortran 2008 modules")
endif(CM_ALL_USE_F08 AND MPI_Fortran_HAVE_F08_MODULE) endif(CM_ALL_USE_F08 AND MPI_Fortran_HAVE_F08_MODULE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment