]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Test Graphviz 2.38
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 6 Oct 2014 09:46:38 +0000 (11:46 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 7 Oct 2014 08:39:53 +0000 (10:39 +0200)
salome_adm/cmake_files/FindGraphviz.cmake

index ecae91f0ac8fa94e2b0280fc2972e7eee5df1b7c..bc652bc8a3ca556776ecfcbc6886c644b08c9a30 100644 (file)
 
 FIND_PROGRAM(GRAPHVIZ_EXECUTABLE dot)
 
-FIND_PATH(GRAPHVIZ_INCLUDE_DIR NAMES graphviz/graph.h)
+FIND_PATH(GRAPHVIZ_INCLUDE_DIR NAMES graphviz/cgraph.h)
 SET(GRAPHVIZ_INCLUDE_DIRS ${GRAPHVIZ_INCLUDE_DIR} ${GRAPHVIZ_INCLUDE_DIR}/graphviz)
 
 FIND_LIBRARY(GRAPHVIZ_cdt_LIBRARY      NAMES cdt PATH_SUFFIXES bin)
-FIND_LIBRARY(GRAPHVIZ_graph_LIBRARY    NAMES graph PATH_SUFFIXES bin)
+FIND_LIBRARY(GRAPHVIZ_graph_LIBRARY    NAMES cgraph PATH_SUFFIXES bin)
 FIND_LIBRARY(GRAPHVIZ_gvc_LIBRARY      NAMES gvc PATH_SUFFIXES bin)
 FIND_LIBRARY(GRAPHVIZ_pathplan_LIBRARY NAMES pathplan PATH_SUFFIXES bin)