diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-11-05 19:03:26 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-11-05 19:03:26 +0000 |
commit | b5b10c25f72f983f5876c0091cc98be36a6a3f0a (patch) | |
tree | 9e27eb94a68fc4c48fbaebea8f6aa7169511a360 /cmake | |
parent | 20f17149a8b158690c9ac72c03014b0d269da49c (diff) |
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
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 9351f264b0..d67eaf7b01 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -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) |