diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-01 15:54:40 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-03-01 15:54:40 +0000 |
| commit | 5cd721ae120eec72b795105830c76a087cd32dca (patch) | |
| tree | ea98b272b3df007789383f99f7ca62eebdbb3329 /llvm/examples/ParallelJIT | |
| parent | a029b79e1a71b46b3e8d0ace236a2d935643cf7b (diff) | |
| download | bcm5719-llvm-5cd721ae120eec72b795105830c76a087cd32dca.tar.gz bcm5719-llvm-5cd721ae120eec72b795105830c76a087cd32dca.zip | |
Refactor duplicated code for linking with pthread.
llvm-svn: 262344
Diffstat (limited to 'llvm/examples/ParallelJIT')
| -rw-r--r-- | llvm/examples/ParallelJIT/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/examples/ParallelJIT/CMakeLists.txt b/llvm/examples/ParallelJIT/CMakeLists.txt index 07c0a085b91..e85b470f503 100644 --- a/llvm/examples/ParallelJIT/CMakeLists.txt +++ b/llvm/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}) |

