summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter3
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter3')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt
index 059d7f6d5b0..1af8db00a17 100644
--- a/llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt
@@ -1,5 +1,5 @@
+set(LLVM_LINK_COMPONENTS core)
+
add_llvm_example(Kaleidoscope-Ch3
toy.cpp
)
-
-target_link_libraries(Kaleidoscope-Ch3 LLVMCore)
OpenPOWER on IntegriCloud