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 --- examples/Kaleidoscope/Chapter7/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/Kaleidoscope/Chapter7') diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index 9b8227c..3c4ac17 100644 --- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -1,5 +1,6 @@ -set(LLVM_LINK_COMPONENTS core jit interpreter native) - add_llvm_example(Kaleidoscope-Ch7 toy.cpp ) + +add_llvm_link_components(Kaleidoscope-Ch7 jit interpreter native) +target_link_libraries(Kaleidoscope-Ch7 LLVMCore) -- cgit v1.1