mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-18 07:52:35 +00:00
Make ParallelJIT pthreads linking with CMake slightly less broken
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6cf5fe595
commit
12adce4e1a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user