summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Support/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Support/CMakeLists.txt')
-rw-r--r--mlir/lib/Support/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Support/CMakeLists.txt b/mlir/lib/Support/CMakeLists.txt
index 7594a8c7bbe..86802d7c795 100644
--- a/mlir/lib/Support/CMakeLists.txt
+++ b/mlir/lib/Support/CMakeLists.txt
@@ -15,7 +15,7 @@ add_llvm_library(MLIRSupport
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Support
)
-target_link_libraries(MLIRSupport LLVMSupport)
+target_link_libraries(MLIRSupport LLVMSupport ${LLVM_PTHREAD_LIB})
add_llvm_library(MLIROptMain
MlirOptMain.cpp
OpenPOWER on IntegriCloud