diff --git a/flang/lib/Frontend/CMakeLists.txt b/flang/lib/Frontend/CMakeLists.txt --- a/flang/lib/Frontend/CMakeLists.txt +++ b/flang/lib/Frontend/CMakeLists.txt @@ -27,8 +27,6 @@ FortranLower clangBasic clangDriver - LLVMAnalysis - LLVMTarget FIRDialect FIRSupport FIRBuilder @@ -40,8 +38,10 @@ ${dialect_libs} LINK_COMPONENTS + Analysis Option Support + Target FrontendOpenACC FrontendOpenMP )