+set(LLVM_LINK_COMPONENTS
+ Core
+ ExecutionEngine
+ Interpreter
+ JIT
+ Support
+ nativecodegen
+ )
+
add_llvm_example(ParallelJIT
ParallelJIT.cpp
)
-add_llvm_link_components(ParallelJIT jit interpreter nativecodegen)
-
if(HAVE_LIBPTHREAD)
target_link_libraries(ParallelJIT pthread)
endif(HAVE_LIBPTHREAD)