diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
commit | 5fb5076e284e074c4113fdc309636b930c244c87 (patch) | |
tree | 29ea02409a170129d0b3a78b2d9f9f007b8184d3 /lib/LineEditor | |
parent | 9262808ecdd2d79cdb4619fc37424ad446ee2fcb (diff) | |
download | llvm-5fb5076e284e074c4113fdc309636b930c244c87.tar.gz llvm-5fb5076e284e074c4113fdc309636b930c244c87.tar.bz2 llvm-5fb5076e284e074c4113fdc309636b930c244c87.tar.xz |
[CMake] Use LINK_LIBS instead of target_link_libraries().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LineEditor')
-rw-r--r-- | lib/LineEditor/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/LineEditor/CMakeLists.txt b/lib/LineEditor/CMakeLists.txt index cef36a40b4..0dec256e41 100644 --- a/lib/LineEditor/CMakeLists.txt +++ b/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} +) |