llvm-project/llvm/lib/LineEditor/CMakeLists.txt

17 lines
237 B
CMake

if(HAVE_LIBEDIT)
set(link_libs edit)
endif()
add_llvm_component_library(LLVMLineEditor
LineEditor.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/LineEditor
LINK_LIBS
${link_libs}
LINK_COMPONENTS
Support
)