diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-02-27 04:11:05 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-02-27 04:11:05 +0000 |
commit | f3a83d6d0b4dd657f04f6d19f95fb53f136039c0 (patch) | |
tree | 0ee5ef8c2add604d321081f76b0f0bfe2f52f8b4 /cmake/config-ix.cmake | |
parent | a91f86c49a63f7a37c662c3a9553055bff33a84b (diff) |
cmake: Add xdot.py support as it already exists in autoconf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index c2fe4317b5..e2817f1316 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -224,6 +224,7 @@ check_type_exists(error_t errno.h HAVE_ERROR_T) # available programs checks function(llvm_find_program name) string(TOUPPER ${name} NAME) + string(REGEX REPLACE "\\." "_" NAME ${NAME}) find_program(LLVM_PATH_${NAME} ${name}) mark_as_advanced(LLVM_PATH_${NAME}) if(LLVM_PATH_${NAME}) @@ -241,6 +242,7 @@ llvm_find_program(neato) llvm_find_program(fdp) llvm_find_program(dot) llvm_find_program(dotty) +llvm_find_program(xdot.py) if( LLVM_ENABLE_FFI ) find_path(FFI_INCLUDE_PATH ffi.h PATHS ${FFI_INCLUDE_DIR}) |