diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/LineEditor/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/llvm/lib/LineEditor/CMakeLists.txt b/llvm/lib/LineEditor/CMakeLists.txt index cef36a40b47..0dec256e415 100644 --- a/llvm/lib/LineEditor/CMakeLists.txt +++ b/llvm/lib/LineEditor/CMakeLists.txt @@ -1,7 +1,11 @@ +if(HAVE_LIBEDIT) + set(link_libs edit) +endif() + add_llvm_library(LLVMLineEditor LineEditor.cpp - ) -if(HAVE_LIBEDIT) - target_link_libraries(LLVMLineEditor edit) -endif() + LINK_LIBS + LLVMSupport + ${link_libs} +) |

