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