Skip to content

Commit

Permalink
[flang] [unittests] Link to libMLIR in optimizer tests (llvm#123476)
Browse files Browse the repository at this point in the history
Handle the one unittest executable that I've missed in llvm#120966.
  • Loading branch information
mgorny authored Jan 19, 2025
1 parent 2c87133 commit 04034f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions flang/unittests/Optimizer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ set(LIBS
FIRDialectSupport
FIRSupport
HLFIRDialect
${dialect_libs}
${extension_libs}
LLVMTargetParser
)

Expand Down Expand Up @@ -47,3 +45,8 @@ DEPENDS
target_link_libraries(FlangOptimizerTests
PRIVATE
${LIBS})
mlir_target_link_libraries(FlangOptimizerTests
PRIVATE
${dialect_libs}
${extension_libs}
)

0 comments on commit 04034f0

Please sign in to comment.