OSDN Git Service

[CMake] Fix pthread handling for out-of-tree builds
[android-x86/external-llvm.git] / unittests / ExecutionEngine / Orc / CMakeLists.txt
index 68f6d0c..80c344e 100644 (file)
@@ -21,4 +21,4 @@ add_llvm_unittest(OrcJITTests
   RPCUtilsTest.cpp
   )
 
-target_link_libraries(OrcJITTests ${PTHREAD_LIB})
+target_link_libraries(OrcJITTests ${LLVM_PTHREAD_LIB})