[flang] Add dependency on libSemantics to libEvaluate.

When building flang with LLVM HEAD, the unittests fail to link with ld.bfd or
ld.gold due to a linker ordering issue. Adding libSemantics as a dependency to
libEvaluate seems to fix that issue.

Reviewed at: https://github.com/flang-compiler/f18/pull/1104
This commit is contained in:
David Truby 2020-04-09 16:39:18 +01:00
parent 0f7aedfd48
commit a1726e65bc

View File

@ -32,6 +32,7 @@ target_compile_features(FortranEvaluate PUBLIC cxx_std_17)
target_link_libraries(FortranEvaluate
FortranCommon
FortranDecimal
FortranSemantics
FortranParser
)