A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error detection of f2c.
[simgrid.git]
/
buildtools
/
Cmake
/
Modules
/
FindF2c.cmake
diff --git
a/buildtools/Cmake/Modules/FindF2c.cmake
b/buildtools/Cmake/Modules/FindF2c.cmake
index
75121eb
..
16b1883
100644
(file)
--- a/
buildtools/Cmake/Modules/FindF2c.cmake
+++ b/
buildtools/Cmake/Modules/FindF2c.cmake
@@
-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