Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not fail when building smpi without f2c, as it is now possible
[simgrid.git] / buildtools / Cmake / Modules / FindF2c.cmake
index 69e519f..81cffee 100644 (file)
@@ -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)