[llvm-commits] [llvm] r156108 - in /llvm/trunk: cmake/config-ix.cmake include/llvm/Config/config.h.cmake
Ted Kremenek
kremenek at apple.com
Thu May 3 14:51:05 PDT 2012
Author: kremenek
Date: Thu May 3 16:51:05 2012
New Revision: 156108
URL: http://llvm.org/viewvc/llvm-project?rev=156108&view=rev
Log:
Add rudimentary CMake logic for detecting Graphviz.
Modified:
llvm/trunk/cmake/config-ix.cmake
llvm/trunk/include/llvm/Config/config.h.cmake
Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=156108&r1=156107&r2=156108&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Thu May 3 16:51:05 2012
@@ -240,6 +240,7 @@
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})
Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=156108&r1=156107&r2=156108&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Thu May 3 16:51:05 2012
@@ -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}
More information about the llvm-commits
mailing list