mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-21 16:16:51 +00:00
[flang][cmake] Fix bcc dependencies (#125822)
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 https://github.com/llvm/llvm-project/pull/120966. (cherry picked from commit f9af5c145f40480d46874b643ca2b1237e9fbb2a)
This commit is contained in:
parent
dfa60a77e0
commit
4c4ed5e2f5
@ -29,6 +29,11 @@ target_link_libraries(bbc PRIVATE
|
||||
flangFrontend
|
||||
flangPasses
|
||||
FlangOpenMPTransforms
|
||||
FortranCommon
|
||||
FortranParser
|
||||
FortranEvaluate
|
||||
FortranSemantics
|
||||
FortranLower
|
||||
)
|
||||
|
||||
mlir_target_link_libraries(bbc PRIVATE
|
||||
@ -36,9 +41,4 @@ mlir_target_link_libraries(bbc PRIVATE
|
||||
${extension_libs}
|
||||
MLIRAffineToStandard
|
||||
MLIRSCFToControlFlow
|
||||
FortranCommon
|
||||
FortranParser
|
||||
FortranEvaluate
|
||||
FortranSemantics
|
||||
FortranLower
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user