aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Kaleidoscope/Chapter3
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Kaleidoscope/Chapter3')
-rw-r--r--examples/Kaleidoscope/Chapter3/CMakeLists.txt5
-rw-r--r--examples/Kaleidoscope/Chapter3/toy.cpp2
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/Kaleidoscope/Chapter3/CMakeLists.txt b/examples/Kaleidoscope/Chapter3/CMakeLists.txt
index 1af8db0..a98d7df 100644
--- a/examples/Kaleidoscope/Chapter3/CMakeLists.txt
+++ b/examples/Kaleidoscope/Chapter3/CMakeLists.txt
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS core)
+set(LLVM_LINK_COMPONENTS
+ Core
+ Support
+ )
add_llvm_example(Kaleidoscope-Ch3
toy.cpp
diff --git a/examples/Kaleidoscope/Chapter3/toy.cpp b/examples/Kaleidoscope/Chapter3/toy.cpp
index a7b60ba..04a1e1a 100644
--- a/examples/Kaleidoscope/Chapter3/toy.cpp
+++ b/examples/Kaleidoscope/Chapter3/toy.cpp
@@ -1,4 +1,4 @@
-#include "llvm/Analysis/Verifier.h"
+#include "llvm/IR/Verifier.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/LLVMContext.h"