[Mlir-commits] [mlir] a07e5b8 - Fix build by adding missing CMake link dependency

Mehdi Amini llvmlistbot at llvm.org
Wed Apr 15 20:50:02 PDT 2020


Author: Mehdi Amini
Date: 2020-04-16T03:49:21Z
New Revision: a07e5b857425a8d411dbf1cdfca5ba5d6521549d

URL: https://github.com/llvm/llvm-project/commit/a07e5b857425a8d411dbf1cdfca5ba5d6521549d
DIFF: https://github.com/llvm/llvm-project/commit/a07e5b857425a8d411dbf1cdfca5ba5d6521549d.diff

LOG: Fix build by adding missing CMake link dependency

This would only fail when using a linker that is sensitive to the order
in which the libraries are passed on the command line (like bfd).

Added: 
    

Modified: 
    mlir/test/lib/Dialect/Affine/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Dialect/Affine/CMakeLists.txt b/mlir/test/lib/Dialect/Affine/CMakeLists.txt
index 296e431e5414..56195ba2e875 100644
--- a/mlir/test/lib/Dialect/Affine/CMakeLists.txt
+++ b/mlir/test/lib/Dialect/Affine/CMakeLists.txt
@@ -15,4 +15,5 @@ target_link_libraries(MLIRAffineTransformsTestPasses PRIVATE
   MLIRPass
   MLIRAffineTransforms
   MLIRSupport
+  MLIRAffineUtils
   )


        


More information about the Mlir-commits mailing list