From bcd85ff340028f23723c6203c2985fa55e9d3217 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Wed, 31 Oct 2012 15:50:39 +0100 Subject: [PATCH 1/1] do not fail when building smpi without f2c, as it is now possible --- buildtools/Cmake/Modules/FindF2c.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/buildtools/Cmake/Modules/FindF2c.cmake b/buildtools/Cmake/Modules/FindF2c.cmake index 69e519f9a7..81cffee36b 100644 --- a/buildtools/Cmake/Modules/FindF2c.cmake +++ b/buildtools/Cmake/Modules/FindF2c.cmake @@ -66,11 +66,7 @@ mark_as_advanced(HAVE_F2C_LIB) if(HAVE_F2C_H) include_directories(${HAVE_F2C_H}) else() - if(WIN32) message("-- Fortran for smpi is not installed (http://www.netlib.org/f2c/).") - else() - message(FATAL_ERROR "You should install f2c before use smpi.") - endif() endif() set(SMPI_F2C 0) -- 2.20.1