[Orc][lli] Add a very simple Orc-based lazy JIT to lli.
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index 5324acd21eabd4a0668679db8d67399327beab0e..2a7667dfba42c0f11f7d75aa52b2251f409df40b 100644 (file)
@@ -1,15 +1,18 @@
 set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
+  MC
   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
   )
 
-set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)
+export_executable_symbols(ExceptionDemo)