OSDN Git Service

[CMake] Fix pthread handling for out-of-tree builds
[android-x86/external-llvm.git] / examples / ParallelJIT / CMakeLists.txt
index e85b470..deeee07 100644 (file)
@@ -11,4 +11,4 @@ add_llvm_example(ParallelJIT
   ParallelJIT.cpp
   )
 
-target_link_libraries(ParallelJIT ${PTHREAD_LIB})
+target_link_libraries(ParallelJIT ${LLVM_PTHREAD_LIB})