Skip to content

Commit e0bc382

Browse files
authored
[flang] Fix standalone build regression from #161179 (#164309)
Fix incorrect linking and dependencies introduced in #161179 that break standalone builds of Flang. Signed-off-by: Michał Górny <[email protected]>
1 parent 467a0c3 commit e0bc382

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)