From: akl Date: Thu, 17 Oct 2013 15:24:58 +0000 (+0000) Subject: Detect additional libraries. X-Git-Tag: BR_hydro_v_0_3_1~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eaa83bd4d16cae0cca277029abb665cc6b9c100e;p=modules%2Fkernel.git Detect additional libraries. --- diff --git a/salome_adm/cmake_files/FindGraphviz.cmake b/salome_adm/cmake_files/FindGraphviz.cmake index b62d7d815..625a0f9a2 100644 --- a/salome_adm/cmake_files/FindGraphviz.cmake +++ b/salome_adm/cmake_files/FindGraphviz.cmake @@ -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)