Link MLIRSupport to IR in OSS
authorNicolas Vasilache <ntv@google.com>
Mon, 29 Apr 2019 17:30:57 +0000 (10:30 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 6 May 2019 15:20:38 +0000 (08:20 -0700)
    The missing dependency breaks linking on Linux.

--

PiperOrigin-RevId: 245773637

mlir/lib/IR/CMakeLists.txt

index e439041..6bb1265 100644 (file)
@@ -6,4 +6,4 @@ add_llvm_library(MLIRIR
   ${MLIR_MAIN_INCLUDE_DIR}/mlir/IR
   )
 add_dependencies(MLIRIR MLIRSupport LLVMSupport)
-target_link_libraries(MLIRIR LLVMSupport)
+target_link_libraries(MLIRIR MLIRSupport LLVMSupport)