summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ExceptionDemo
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/ExceptionDemo')
-rw-r--r--llvm/examples/ExceptionDemo/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index 293c66b2298..d6619155684 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/examples/ExceptionDemo/CMakeLists.txt
@@ -1,5 +1,5 @@
+set(LLVM_LINK_COMPONENTS jit nativecodegen)
+
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
)
-
-add_llvm_link_components(ExceptionDemo jit nativecodegen)
OpenPOWER on IntegriCloud