OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor duplicated code for linking with pthread.
[android-x86/external-llvm.git]
/
examples
/
ParallelJIT
/
CMakeLists.txt
diff --git
a/examples/ParallelJIT/CMakeLists.txt
b/examples/ParallelJIT/CMakeLists.txt
index
07c0a08
..
e85b470
100644
(file)
--- a/
examples/ParallelJIT/CMakeLists.txt
+++ b/
examples/ParallelJIT/CMakeLists.txt
@@
-11,6
+11,4
@@
add_llvm_example(ParallelJIT
ParallelJIT.cpp
)
-if(HAVE_LIBPTHREAD)
- target_link_libraries(ParallelJIT pthread)
-endif(HAVE_LIBPTHREAD)
+target_link_libraries(ParallelJIT ${PTHREAD_LIB})