Add support for linking against a curses library when available and
[oota-llvm.git] / CMakeLists.txt
index 687176ca5772538f97a3d90e9500c74a5daa1e30..a0a6c75fe72c72ed50f63c6d72c96b07f6a29766 100644 (file)
@@ -123,6 +123,8 @@ set(FFI_INCLUDE_DIR "" CACHE PATH "Additional directory, where CMake should sear
 set(LLVM_TARGET_ARCH "host"
   CACHE STRING "Set target to use for LLVM JIT or use \"host\" for automatic detection.")
 
+option(LLVM_ENABLE_CURSES "Use curses to detect terminal info if available." ON)
+
 option(LLVM_ENABLE_THREADS "Use threads if available." ON)
 
 option(LLVM_ENABLE_ZLIB "Use zlib for compression/decompression if available." ON)