Skip to content

Commit 2bb23d4

Browse files
authored
[flang][cmake] Fix bbc dependencies (#152306)
Re-apply "[flang][cmake] Fix bcc dependencies (#125822)" It was overwritten due to an automatic merge gone wrong for #124416. `git cherry-pick f9af5c1` applied in 97cf061 ignored the renaming of FortranCommon into FortranSupport after #125822. Original commit message: The Fortran libraries are not part of MLIR, so they should use target_link_libraries() rather than mlir_target_link_libraries(). This fixes an issue introduced in #20966.
1 parent cd4ae91 commit 2bb23d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flang/tools/bbc/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ target_link_libraries(bbc PRIVATE
3030
flangFrontend
3131
flangPasses
3232
FlangOpenMPTransforms
33+
FortranSupport
34+
FortranParser
35+
FortranEvaluate
36+
FortranSemantics
37+
FortranLower
3338
)
3439

3540
mlir_target_link_libraries(bbc PRIVATE
3641
${dialect_libs}
3742
${extension_libs}
3843
MLIRAffineToStandard
3944
MLIRSCFToControlFlow
40-
FortranSupport
41-
FortranParser
42-
FortranEvaluate
43-
FortranSemantics
44-
FortranLower
4545
)

0 commit comments

Comments
 (0)