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.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/ParallelJIT/CMakeLists.txt b/examples/ParallelJIT/CMakeLists.txt
index 07c0a085b91f6..e85b470f5036b 100644
--- 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})