[CMake] Always mark terminfo as unavailable on Windows
authorPetr Hosek <phosek@google.com>
Wed, 19 Aug 2020 18:06:19 +0000 (11:06 -0700)
committerPetr Hosek <phosek@google.com>
Wed, 19 Aug 2020 18:52:26 +0000 (11:52 -0700)
This addresses the issue introduced by D86134.

Differential Revision: https://reviews.llvm.org/D86234

llvm/cmake/config-ix.cmake

index 6e8f476..0ad24c7 100644 (file)
@@ -175,6 +175,8 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
         endif()
       endif()
     endif()
+  else()
+    set(LLVM_ENABLE_TERMINFO 0)
   endif()
 endif()