Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix error detection of f2c.
[simgrid.git] / buildtools / Cmake / Modules / FindF2c.cmake
index 75121eb..16b1883 100644 (file)
@@ -34,6 +34,10 @@ find_library(HAVE_F2C_LIB
     /usr
 )
 
     /usr
 )
 
+if(HAVE_F2C_H)
+set(HAVE_SMPI_F2C_H 1)
+endif(HAVE_F2C_H)
+
 mark_as_advanced(HAVE_F2C_H)
 mark_as_advanced(F2C_EXE)
 mark_as_advanced(HAVE_F2C_LIB)
\ No newline at end of file
 mark_as_advanced(HAVE_F2C_H)
 mark_as_advanced(F2C_EXE)
 mark_as_advanced(HAVE_F2C_LIB)
\ No newline at end of file