]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Detect additional libraries.
authorakl <akl@opencascade.com>
Thu, 17 Oct 2013 15:24:58 +0000 (15:24 +0000)
committerakl <akl@opencascade.com>
Thu, 17 Oct 2013 15:24:58 +0000 (15:24 +0000)
salome_adm/cmake_files/FindGraphviz.cmake

index b62d7d8154eb0ac0a37e1f7c59a800d6e4a0158e..625a0f9a29874614d797189234dd8c9c783fb4aa 100644 (file)
@@ -34,8 +34,22 @@ FIND_PROGRAM(GRAPHVIZ_EXECUTABLE dot)
 FIND_PATH(GRAPHVIZ_INCLUDE_DIR NAMES graphviz/graph.h)
 SET(GRAPHVIZ_INCLUDE_DIR ${GRAPHVIZ_INCLUDE_DIR}/graphviz)
 
-FIND_LIBRARY(GRAPHVIZ_graph_LIBRARY NAMES graph)
-SET(GRAPHVIZ_LIBRARIES ${GRAPHVIZ_graph_LIBRARY})
+FIND_LIBRARY(GRAPHVIZ_cdt_LIBRARY      NAMES cdt)
+FIND_LIBRARY(GRAPHVIZ_cgraph_LIBRARY   NAMES cgraph)
+FIND_LIBRARY(GRAPHVIZ_graph_LIBRARY    NAMES graph)
+FIND_LIBRARY(GRAPHVIZ_gvc_LIBRARY      NAMES gvc)
+FIND_LIBRARY(GRAPHVIZ_gvpr_LIBRARY     NAMES gvpr)
+FIND_LIBRARY(GRAPHVIZ_pathplan_LIBRARY NAMES pathplan)
+FIND_LIBRARY(GRAPHVIZ_xdot_LIBRARY     NAMES xdot)
+SET(GRAPHVIZ_LIBRARIES 
+  ${GRAPHVIZ_cdt_LIBRARY}
+  ${GRAPHVIZ_cgraph_LIBRARY} 
+  ${GRAPHVIZ_graph_LIBRARY} 
+  ${GRAPHVIZ_gvc_LIBRARY}
+  ${GRAPHVIZ_gvpr_LIBRARY}
+  ${GRAPHVIZ_pathplan_LIBRARY}
+  ${GRAPHVIZ_xdot_LIBRARY}
+  )
 
 # Handle the standard arguments of the find_package() command:
 INCLUDE(FindPackageHandleStandardArgs)