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)