From 69102d69098392fcdb9e5b206e8a5b91dabf9d18 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 12 Jan 2019 21:21:45 +0100 Subject: [PATCH] Revert "try to compile mpi.mod even if the config was run previously" This reverts commit 8027c7e2096e3eb887cc011b1937d10ae568310a. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9786cf333..850f75f30f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,8 +81,7 @@ if ((NOT DEFINED enable_smpi) OR enable_smpi) set(SMPI_FLANG 1) endif() - set(SMPI_FORTRAN 1 CACHE BOOL "Whether SMPI Fortran code can be compiled") - mark_as_advanced(SMPI_FORTRAN) + set(SMPI_FORTRAN 1) endif(CMAKE_Fortran_COMPILER) endif() -- 2.20.1