diff options
Diffstat (limited to 'examples/ExceptionDemo/CMakeLists.txt')
-rw-r--r-- | examples/ExceptionDemo/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt index 5324acd..9cadd94 100644 --- a/examples/ExceptionDemo/CMakeLists.txt +++ b/examples/ExceptionDemo/CMakeLists.txt @@ -1,12 +1,15 @@ 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 |