[flang][driver] Add missing dependency (shared library builds, NFC)

`flang-new` depends on libclangFrontend (it uses DiagnosticConsumer
classes from there). This patch adds the missing dependency in CMake.

clang::TextDiagnosticBuffer is only reported as missing when compiling
`flang-new` with BUILD_SHARED_LIBS=ON. This symbol is linked in
statically with libflangFrontend when BUILD_SHARED_LIBS=OFF.
This commit is contained in:
Andrzej Warzynski 2020-09-24 20:57:46 +01:00
parent f8a92adfa2
commit b9a2837f16
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ target_link_libraries(flang-new
flangFrontendTool
clangDriver
clangBasic
clangFrontend
LLVMSupport
LLVMTarget
LLVMOption