New CMakeLists.txt for MLIRStandardOpsTransforms was incorrect, but wasn't
caught by the check.
Differential Revision: https://reviews.llvm.org/D80075
# 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()
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)