summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-02-27 04:11:05 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-02-27 04:11:05 +0000
commit1b4f94070f31efc702af94d880d8ca11041b8977 (patch)
treee4aa7edd210d6d770adba9ab8c495b1a674c3d32 /llvm/cmake/config-ix.cmake
parent3ac8689fa370739ada5b47feb0171d615f2079f8 (diff)
downloadbcm5719-llvm-1b4f94070f31efc702af94d880d8ca11041b8977.tar.gz
bcm5719-llvm-1b4f94070f31efc702af94d880d8ca11041b8977.zip
cmake: Add xdot.py support as it already exists in autoconf.
llvm-svn: 126563
Diffstat (limited to 'llvm/cmake/config-ix.cmake')
-rwxr-xr-xllvm/cmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index c2fe4317b53..e2817f1316b 100755
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/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})
OpenPOWER on IntegriCloud