summaryrefslogtreecommitdiff
path: root/examples/ExceptionDemo/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ExceptionDemo/CMakeLists.txt')
-rw-r--r--examples/ExceptionDemo/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt
index ea818faf3b33..a08a7c30bd8a 100644
--- a/examples/ExceptionDemo/CMakeLists.txt
+++ b/examples/ExceptionDemo/CMakeLists.txt
@@ -1,5 +1,14 @@
-set(LLVM_LINK_COMPONENTS jit mcjit nativecodegen)
+set(LLVM_LINK_COMPONENTS
+ Core
+ ExecutionEngine
+ MCJIT
+ Support
+ nativecodegen
+ )
+
+# Enable EH and RTTI for this demo
set(LLVM_REQUIRES_EH 1)
+set(LLVM_REQUIRES_RTTI 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp