Introduce line editor library.
[oota-llvm.git] / lib / LineEditor / CMakeLists.txt
diff --git a/lib/LineEditor/CMakeLists.txt b/lib/LineEditor/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cef36a4
--- /dev/null
@@ -0,0 +1,7 @@
+add_llvm_library(LLVMLineEditor
+  LineEditor.cpp
+  )
+
+if(HAVE_LIBEDIT)
+  target_link_libraries(LLVMLineEditor edit)
+endif()