summaryrefslogtreecommitdiffstats
path: root/examples/ExceptionDemo/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ExceptionDemo/CMakeLists.txt')
-rw-r--r--examples/ExceptionDemo/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt
index 88c9ab7..ea818fa 100644
--- a/examples/ExceptionDemo/CMakeLists.txt
+++ b/examples/ExceptionDemo/CMakeLists.txt
@@ -1,6 +1,8 @@
-set(LLVM_LINK_COMPONENTS jit nativecodegen)
+set(LLVM_LINK_COMPONENTS jit mcjit nativecodegen)
set(LLVM_REQUIRES_EH 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
)
+
+set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)
OpenPOWER on IntegriCloud