diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-08-27 15:13:14 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-08-27 15:13:14 +0000 |
| commit | 34c7b5192b881b486f169a4af57ed7da9d04a7f8 (patch) | |
| tree | 819a6852fe15d320318013339b8d8098a2493c98 /llvm/examples/ExceptionDemo | |
| parent | 976f4da09d0a2defc8448e890149b5376bd4c7e7 (diff) | |
| download | bcm5719-llvm-34c7b5192b881b486f169a4af57ed7da9d04a7f8.tar.gz bcm5719-llvm-34c7b5192b881b486f169a4af57ed7da9d04a7f8.zip | |
[CMake] Let ExceptionDemo buildable with ENABLE_EH.
llvm-svn: 246152
Diffstat (limited to 'llvm/examples/ExceptionDemo')
| -rw-r--r-- | llvm/examples/ExceptionDemo/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt index b4354f66f0d..793cf291ca6 100644 --- a/llvm/examples/ExceptionDemo/CMakeLists.txt +++ b/llvm/examples/ExceptionDemo/CMakeLists.txt @@ -5,14 +5,14 @@ set(LLVM_LINK_COMPONENTS MCJIT RuntimeDyld Support + Target nativecodegen ) # Enable EH and RTTI for this demo -set(LLVM_REQUIRES_EH 1) -set(LLVM_REQUIRES_RTTI 1) - -set(LLVM_BUILD_EXAMPLES OFF) +if(NOT LLVM_ENABLE_EH) + message(FATAL_ERROR "ExceptionDemo must require EH.") +endif() add_llvm_example(ExceptionDemo ExceptionDemo.cpp |

