projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cf5fe
)
Make ParallelJIT pthreads linking with CMake slightly less broken
author
Douglas Gregor
<dgregor@apple.com>
Mon, 12 Oct 2009 04:00:13 +0000
(
04:00
+0000)
committer
Douglas Gregor
<dgregor@apple.com>
Mon, 12 Oct 2009 04:00:13 +0000
(
04:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83820
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/ParallelJIT/CMakeLists.txt
patch
|
blob
|
history
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)