[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 f9af5c145f40480d46874b643ca2b1237e9fbb2a` applied in
97cf061e83 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.
This commit is contained in:
parent
cd4ae911eb
commit
2bb23d4447
1 changed files with 5 additions and 5 deletions
|
|
@ -30,6 +30,11 @@ target_link_libraries(bbc PRIVATE
|
|||
flangFrontend
|
||||
flangPasses
|
||||
FlangOpenMPTransforms
|
||||
FortranSupport
|
||||
FortranParser
|
||||
FortranEvaluate
|
||||
FortranSemantics
|
||||
FortranLower
|
||||
)
|
||||
|
||||
mlir_target_link_libraries(bbc PRIVATE
|
||||
|
|
@ -37,9 +42,4 @@ mlir_target_link_libraries(bbc PRIVATE
|
|||
${extension_libs}
|
||||
MLIRAffineToStandard
|
||||
MLIRSCFToControlFlow
|
||||
FortranSupport
|
||||
FortranParser
|
||||
FortranEvaluate
|
||||
FortranSemantics
|
||||
FortranLower
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue