diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-12 09:34:11 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-12 09:34:11 -0800 |
| commit | 61a2bdadb33166950f768ad2c764d2940b9466fb (patch) | |
| tree | 3119d3cf4816fc347e223f8cfac3af1d34f51a1c /lldb/cmake/modules | |
| parent | 4b15c6e2a15f9d1d7c2586af8a7811e7b43ac799 (diff) | |
| download | bcm5719-llvm-61a2bdadb33166950f768ad2c764d2940b9466fb.tar.gz bcm5719-llvm-61a2bdadb33166950f768ad2c764d2940b9466fb.zip | |
[lldb/Host] Use cmakedefine01 for LLDB_ENABLE_TERMIOS
This renames LLDB_CONFIG_TERMIOS_SUPPORTED to LLDB_ENABLE_TERMIOS. It
now also uses cmakedefine01 to keep things consistent with out other
optional dependencies. But more importantly it won't silently fail when
you forget to include Config.h.
Diffstat (limited to 'lldb/cmake/modules')
| -rw-r--r-- | lldb/cmake/modules/LLDBGenerateConfig.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/LLDBGenerateConfig.cmake b/lldb/cmake/modules/LLDBGenerateConfig.cmake index 119021c587b..b44f4afdfa6 100644 --- a/lldb/cmake/modules/LLDBGenerateConfig.cmake +++ b/lldb/cmake/modules/LLDBGenerateConfig.cmake @@ -23,7 +23,7 @@ check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSIO # These checks exist in LLVM's configuration, so I want to match the LLVM names # so that the check isn't duplicated, but we translate them into the LLDB names # so that I don't have to change all the uses at the moment. -set(LLDB_CONFIG_TERMIOS_SUPPORTED ${HAVE_TERMIOS_H}) +set(LLDB_ENABLE_TERMIOS ${HAVE_TERMIOS_H}) if(NOT UNIX) set(LLDB_DISABLE_POSIX 1) endif() |

