Add rudimentary CMake logic for detecting Graphviz.

llvm-svn: 156108
This commit is contained in:
Ted Kremenek 2012-05-03 21:51:05 +00:00
parent 26239aeb99
commit c3352fa310
2 changed files with 2 additions and 1 deletions

View File

@ -240,6 +240,7 @@ llvm_find_program(fdp)
llvm_find_program(dot)
llvm_find_program(dotty)
llvm_find_program(xdot.py)
llvm_find_program(Graphviz)
if( LLVM_ENABLE_FFI )
find_path(FFI_INCLUDE_PATH ffi.h PATHS ${FFI_INCLUDE_DIR})

View File

@ -155,7 +155,7 @@
#cmakedefine HAVE_GETTIMEOFDAY ${HAVE_GETTIMEOFDAY}
/* Define if the Graphviz program is available */
#undef HAVE_GRAPHVIZ
#cmakedefine HAVE_GRAPHVIZ ${HAVE_GRAPHVIZ}
/* Define if the gv program is available */
#cmakedefine HAVE_GV ${HAVE_GV}