mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
CMake: Detect dotty.
Patch by Arnaud Allard de Grandmaison! llvm-svn: 86153
This commit is contained in:
parent
5866071c1e
commit
a0309933c6
@ -126,6 +126,15 @@ endif()
|
||||
check_type_exists(uint64_t "${headers}" HAVE_UINT64_T)
|
||||
check_type_exists(u_int64_t "${headers}" HAVE_U_INT64_T)
|
||||
|
||||
# available programs checks
|
||||
find_program(DOTTY_EXECUTABLE dotty)
|
||||
if(DOTTY_EXECUTABLE)
|
||||
set(HAVE_DOTTY 1)
|
||||
set(LLVM_PATH_DOTTY ${DOTTY_EXECUTABLE})
|
||||
mark_as_advanced(HAVE_DOTTY)
|
||||
mark_as_advanced(LLVM_PATH_DOTTY)
|
||||
endif()
|
||||
|
||||
# Define LLVM_MULTITHREADED if gcc atomic builtins exists.
|
||||
include(CheckAtomic)
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
||||
#undef HAVE_DOT
|
||||
|
||||
/* Define if the dotty program is available */
|
||||
#undef HAVE_DOTTY
|
||||
#cmakedefine HAVE_DOTTY ${HAVE_DOTTY}
|
||||
|
||||
/* Define if you have the _dyld_func_lookup function. */
|
||||
#undef HAVE_DYLD
|
||||
@ -471,7 +471,7 @@
|
||||
#undef LLVM_PATH_DOT
|
||||
|
||||
/* Define to path to dotty program if found or 'echo dotty' otherwise */
|
||||
#undef LLVM_PATH_DOTTY
|
||||
#cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}"
|
||||
|
||||
/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
|
||||
#undef LLVM_PATH_GRAPHVIZ
|
||||
|
Loading…
Reference in New Issue
Block a user