summaryrefslogtreecommitdiff
path: root/examples/ParallelJIT/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ParallelJIT/CMakeLists.txt')
-rw-r--r--examples/ParallelJIT/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/ParallelJIT/CMakeLists.txt b/examples/ParallelJIT/CMakeLists.txt
new file mode 100644
index 00000000000..fbdc6e5fc10
--- /dev/null
+++ b/examples/ParallelJIT/CMakeLists.txt
@@ -0,0 +1,9 @@
+set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
+
+add_llvm_example(ParallelJIT
+ ParallelJIT.cpp
+ )
+
+if(HAVE_LIBPTHREAD)
+ target_link_libraries(ParallelJIT pthread)
+endif(HAVE_LIBPTHREAD)