[MLIR][cmake][NFC] Update linkage checker for mlir-opt

New CMakeLists.txt for MLIRStandardOpsTransforms was incorrect, but wasn't
caught by the check.

Differential Revision: https://reviews.llvm.org/D80075
This commit is contained in:
Stephen Neuendorffer
2020-05-17 13:46:52 -07:00
parent 52e98f620c
commit f88c7fe46b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ function(mlir_check_link_libraries name)
# same symbol might be loaded from 2 separate libraries. This
# often comes from referring to an LLVM library target
# explicitly in target_link_libraries()
message("WARNING: ${l} links LLVM and ${lib}!")
message("WARNING: ${name} links LLVM and ${lib}!")
endif()
endif()
endforeach()
+1 -1
View File
@@ -52,4 +52,4 @@ add_llvm_tool(mlir-opt
target_link_libraries(mlir-opt PRIVATE ${LIBS})
llvm_update_compile_flags(mlir-opt)
mlir_check_link_libraries(mlir-opt)
mlir_check_all_link_libraries(mlir-opt)