Fix build by adding missing CMake link dependency
authorMehdi Amini <joker.eph@gmail.com>
Thu, 16 Apr 2020 03:47:02 +0000 (03:47 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 16 Apr 2020 03:49:21 +0000 (03:49 +0000)
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).

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

index 296e431..56195ba 100644 (file)
@@ -15,4 +15,5 @@ target_link_libraries(MLIRAffineTransformsTestPasses PRIVATE
   MLIRPass
   MLIRAffineTransforms
   MLIRSupport
+  MLIRAffineUtils
   )