Fix msan build

After D85820 TERMINFO_LIB is undefined.
This commit is contained in:
Vitaly Buka 2020-08-20 17:25:57 -07:00
parent 1283dca007
commit 34fe9613dd
1 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,8 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
else()
set(LLVM_ENABLE_TERMINFO 0)
endif()
else()
set(LLVM_ENABLE_TERMINFO 0)
endif()
if (LLVM_ENABLE_LIBXML2 STREQUAL "FORCE_ON" AND NOT LLVM_LIBXML2_ENABLED)