Skip to content

Commit 224239c

Browse files
mgornyaokblast
authored andcommitted
[flang] Fix standalone build regression from llvm#161179 (llvm#164309)
Fix incorrect linking and dependencies introduced in llvm#161179 that break standalone builds of Flang. Signed-off-by: Michał Górny <mgorny@gentoo.org>
1 parent 464eec5 commit 224239c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

flang/lib/Optimizer/Dialect/MIF/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@ add_flang_library(MIFDialect
33
MIFOps.cpp
44

55
DEPENDS
6-
MLIRIR
76
MIFOpsIncGen
87

98
LINK_LIBS
109
FIRDialect
1110
FIRDialectSupport
1211
FIRSupport
13-
MLIRIR
14-
MLIRTargetLLVMIRExport
1512

1613
LINK_COMPONENTS
1714
AsmParser
1815
AsmPrinter
1916
Remarks
17+
18+
MLIR_DEPS
19+
MLIRIR
20+
21+
MLIR_LIBS
22+
MLIRIR
23+
MLIRTargetLLVMIRExport
2024
)

0 commit comments

Comments
 (0)