Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index d6619155684341eec5e3f9daa3d2342d9aa56e84..ea818faf3b338b83edb50e1d405a7c1ef124bd91 100644 (file)
@@ -1,5 +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)