llvm.org GIT mirror llvm / b5b10c2
CMake: Detect dotty. Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86153 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
2 changed file(s) with 11 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
124124
125125 check_type_exists(uint64_t "${headers}" HAVE_UINT64_T)
126126 check_type_exists(u_int64_t "${headers}" HAVE_U_INT64_T)
127
128 # available programs checks
129 find_program(DOTTY_EXECUTABLE dotty)
130 if(DOTTY_EXECUTABLE)
131 set(HAVE_DOTTY 1)
132 set(LLVM_PATH_DOTTY ${DOTTY_EXECUTABLE})
133 mark_as_advanced(HAVE_DOTTY)
134 mark_as_advanced(LLVM_PATH_DOTTY)
135 endif()
127136
128137 # Define LLVM_MULTITHREADED if gcc atomic builtins exists.
129138 include(CheckAtomic)
7979 #undef HAVE_DOT
8080
8181 /* Define if the dotty program is available */
82 #undef HAVE_DOTTY
82 #cmakedefine HAVE_DOTTY ${HAVE_DOTTY}
8383
8484 /* Define if you have the _dyld_func_lookup function. */
8585 #undef HAVE_DYLD
470470 #undef LLVM_PATH_DOT
471471
472472 /* Define to path to dotty program if found or 'echo dotty' otherwise */
473 #undef LLVM_PATH_DOTTY
473 #cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}"
474474
475475 /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
476476 #undef LLVM_PATH_GRAPHVIZ