[Flang] fix dependency issues after D78215

Patch D78215 changes various dependencies in the CMakeLists.txt. This
results in error while compiling. This patch fixes the issue.

Reviewers: DavidTruby

Differential Revision: https://reviews.llvm.org/D78340
This commit is contained in:
Valentin Clement 2020-04-21 20:27:35 +01:00 committed by Kiran Chandramohan
parent 58f32435e8
commit a6c1692cb3
3 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ add_flang_library(FortranEvaluate
LINK_LIBS
FortranCommon
FortranDecimal
FortranSemantics
FortranParser
)

View File

@ -1,3 +1,5 @@
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_flang_library(FIRDialect
FIRAttr.cpp
FIRDialect.cpp
@ -6,6 +8,7 @@ add_flang_library(FIRDialect
DEPENDS
FIROpsIncGen
${dialect_libs}
LINK_LIBS
FIRSupport

View File

@ -3,6 +3,8 @@ get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_flang_library(FIRSupport
KindMapping.cpp
DEPENDS
${dialect_libs}
LINK_LIBS
${dialect_libs}
)