X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=examples%2FParallelJIT%2FCMakeLists.txt;h=07c0a085b91f63bbc723038ee9df0dd71714ad11;hp=d8dd7084c40df83b359ffeb44a8d3b909ed3b6db;hb=ac6ac4cb6c567726b5ea8c823906a4ab6c8c089a;hpb=dbc2e856fce973243d2dfba88d573d3c88f06020 diff --git a/examples/ParallelJIT/CMakeLists.txt b/examples/ParallelJIT/CMakeLists.txt index d8dd7084c40..07c0a085b91 100644 --- a/examples/ParallelJIT/CMakeLists.txt +++ b/examples/ParallelJIT/CMakeLists.txt @@ -1,7 +1,16 @@ -set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen) +set(LLVM_LINK_COMPONENTS + Core + ExecutionEngine + Interpreter + MC + Support + nativecodegen + ) add_llvm_example(ParallelJIT ParallelJIT.cpp ) -target_link_libraries(ParallelJIT pthread) +if(HAVE_LIBPTHREAD) + target_link_libraries(ParallelJIT pthread) +endif(HAVE_LIBPTHREAD)