From 4e9c939312ff73bd0c6a6485fd5f97012f5910fa Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 10 Sep 2010 21:14:25 +0000 Subject: CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lli/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/lli') diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index ce70d46e4a..8fd34aca3f 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -1,5 +1,6 @@ -set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen bitreader selectiondag) - add_llvm_tool(lli lli.cpp ) + +add_llvm_link_components(lli jit interpreter nativecodegen) +target_link_libraries(lli LLVMBitReader LLVMSelectionDAG) -- cgit v1.2.3-18-g5258