diff options
Diffstat (limited to 'examples/ParallelJIT/CMakeLists.txt')
-rw-r--r-- | examples/ParallelJIT/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/ParallelJIT/CMakeLists.txt b/examples/ParallelJIT/CMakeLists.txt index d8dd708..fbdc6e5 100644 --- 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) |