projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge these tests.
[oota-llvm.git]
/
examples
/
ParallelJIT
/
CMakeLists.txt
diff --git
a/examples/ParallelJIT/CMakeLists.txt
b/examples/ParallelJIT/CMakeLists.txt
index d8dd7084c40df83b359ffeb44a8d3b909ed3b6db..fbdc6e5fc10b4ecc2516737566bba566e06181b0 100644
(file)
--- a/
examples/ParallelJIT/CMakeLists.txt
+++ b/
examples/ParallelJIT/CMakeLists.txt
@@
-4,4
+4,6
@@
add_llvm_example(ParallelJIT
ParallelJIT.cpp
)
-target_link_libraries(ParallelJIT pthread)
+if(HAVE_LIBPTHREAD)
+ target_link_libraries(ParallelJIT pthread)
+endif(HAVE_LIBPTHREAD)