Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a dependency for smpi.
[simgrid.git] / buildtools / Cmake / Modules / FindGraphviz.cmake
1 find_path(HAVE_CGRAPH_H cgraph.h
2     HINTS
3     $ENV{LD_LIBRARY_PATH}
4     PATH_SUFFIXES include/graphviz include
5     PATHS
6     /opt
7     /opt/local
8     /opt/csw
9     /sw
10     /usr
11 )
12
13 find_path(HAVE_AGRAPH_H agraph.h
14     HINTS
15     $ENV{LD_LIBRARY_PATH}
16     PATH_SUFFIXES include/graphviz include
17     PATHS
18     /opt
19     /opt/local
20     /opt/csw
21     /sw
22     /usr
23 )
24
25 find_path(HAVE_GRAPH_H graph.h
26     HINTS
27     $ENV{LD_LIBRARY_PATH}
28     PATH_SUFFIXES include/graphviz include
29     PATHS
30     /opt
31     /opt/local
32     /opt/csw
33     /sw
34     /usr
35 )
36
37 find_library(HAVE_CGRAPH_LIB
38     NAME cgraph
39     HINTS
40     $ENV{LD_LIBRARY_PATH}
41     PATH_SUFFIXES lib/graphviz lib
42     PATHS
43     /opt
44     /opt/local
45     /opt/csw
46     /sw
47     /usr
48 )  
49
50 find_library(HAVE_AGRAPH_LIB
51     NAME agraph
52     HINTS
53     $ENV{LD_LIBRARY_PATH}
54     PATH_SUFFIXES lib/graphviz lib
55     PATHS
56     /opt
57     /opt/local
58     /opt/csw
59     /sw
60     /usr
61
62
63 find_library(HAVE_GRAPH_LIB
64     NAME graph
65     HINTS
66     $ENV{LD_LIBRARY_PATH}
67     PATH_SUFFIXES lib/graphviz lib
68     PATHS
69     /opt
70     /opt/local
71     /opt/csw
72     /sw
73     /usr
74 )
75
76 find_library(HAVE_CDT_LIB
77     NAME cdt
78     HINTS
79     $ENV{LD_LIBRARY_PATH}
80     PATH_SUFFIXES lib/graphviz lib
81     PATHS
82     /opt
83     /opt/local
84     /opt/csw
85     /sw
86     /usr
87 )
88
89 mark_as_advanced(HAVE_AGRAPH_H)
90 mark_as_advanced(HAVE_CGRAPH_H)                                                                                
91 mark_as_advanced(HAVE_GRAPH_H)                                                                                  
92 mark_as_advanced(HAVE_GRAPH_LIB)
93 mark_as_advanced(HAVE_CGRAPH_LIB)
94 mark_as_advanced(HAVE_AGRAPH_LIB)
95 mark_as_advanced(HAVE_CDT_LIB)