Build with RTTI and exceptions disabled. Only in GCC for now.
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index d6619155684341eec5e3f9daa3d2342d9aa56e84..88c9ab7c181690c4d889a148b23753ff4dcebd60 100644 (file)
@@ -1,4 +1,5 @@
 set(LLVM_LINK_COMPONENTS jit nativecodegen)
+set(LLVM_REQUIRES_EH 1)
 
 add_llvm_example(ExceptionDemo
   ExceptionDemo.cpp