cmake/dxc: disable dep on ncurses

This avoids needing to have this dep installed on build bots, and is
currently not available when using our Linux sysroot. Note that this
also matches our GN build, where `HAVE_TERMINFO` is undefined.

Bug: chromium:336842914
Change-Id: Ic9dfb702d02d91e39061a3edd5cc3afe528931c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187360
Reviewed-by: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 8771e41..ee9c860 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -184,6 +184,7 @@
     set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "" FORCE)
     set(CLANG_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
     set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "" FORCE)
+    set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "" FORCE)
 
     if (NOT WIN32)
         set(DIRECTX_HEADER_INCLUDE_DIR "${DAWN_THIRD_PARTY_DIR}/dxheaders/include")