X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FKaleidoscope%2FChapter6%2FCMakeLists.txt;h=002e0d4670beb8f75d3220cb5d32258a4db2314c;hb=4e9c939312ff73bd0c6a6485fd5f97012f5910fa;hp=2e15a5f7dfc60b10639fc26ef71be543c3fd53af;hpb=31c6c5d58a6d2254063e8a18fd32b851a06e2ddf;p=oota-llvm.git diff --git a/examples/Kaleidoscope/Chapter6/CMakeLists.txt b/examples/Kaleidoscope/Chapter6/CMakeLists.txt index 2e15a5f7dfc..002e0d4670b 100644 --- a/examples/Kaleidoscope/Chapter6/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter6/CMakeLists.txt @@ -1,5 +1,6 @@ -set(LLVM_LINK_COMPONENTS core jit interpreter native) - add_llvm_example(Kaleidoscope-Ch6 toy.cpp ) + +add_llvm_link_components(Kaleidoscope-Ch6 jit interpreter native) +target_link_libraries(Kaleidoscope-Ch6 LLVMCore)