[llvm-readobj] - Repair the test case.
[llvm-complete.git] / examples / ExceptionDemo / CMakeLists.txt
blob793cf291ca6f110eae23c396e24c2ee3cd050bcd
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   MC
5   MCJIT
6   RuntimeDyld
7   Support
8   Target
9   nativecodegen
10   )
12 # Enable EH and RTTI for this demo
13 if(NOT LLVM_ENABLE_EH)
14   message(FATAL_ERROR "ExceptionDemo must require EH.")
15 endif()
17 add_llvm_example(ExceptionDemo
18   ExceptionDemo.cpp
19   )
21 export_executable_symbols(ExceptionDemo)