Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way supernovae files are generated so that out of source works
[simgrid.git] / buildtools / Cmake / Modules / FindF2c.cmake
1 find_path(HAVE_F2C_H f2c.h
2     HINTS
3     $ENV{LD_LIBRARY_PATH}
4     PATH_SUFFIXES include/
5     PATHS
6     /opt
7     /opt/local
8     /opt/csw
9     /sw
10     /usr
11 )
12
13 find_program(F2C_EXE 
14         NAME f2c
15     PATH_SUFFIXES bin/
16     PATHS
17     /opt
18     /opt/local
19     /opt/csw
20     /sw
21     /usr
22 )
23
24 find_library(HAVE_F2C_LIB
25     NAME f2c
26     HINTS
27     $ENV{LD_LIBRARY_PATH}
28     PATH_SUFFIXES lib/
29     PATHS
30     /opt
31     /opt/local
32     /opt/csw
33     /sw
34     /usr
35 )
36
37 if(HAVE_F2C_H)
38 set(HAVE_SMPI_F2C_H 1)
39 endif(HAVE_F2C_H)
40
41 mark_as_advanced(HAVE_F2C_H)
42 mark_as_advanced(F2C_EXE)
43 mark_as_advanced(HAVE_F2C_LIB)