Skip to content

Commit

Permalink
[flang] Fix CMake dependency in CUF/Attributes
Browse files Browse the repository at this point in the history
flang/lib/Optimizer/Dialect/CUF/Attributes/CUFAttr.cpp includes
CUFDialect.h.inc, but the target generating that isn't currently
depended on in CUF/Attributes. This patch adds that missing dependency.

Fixes #92635
  • Loading branch information
DavidTruby committed May 20, 2024
1 parent 82c5d35 commit c94275b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ add_flang_library(CUFAttrs
DEPENDS
MLIRIR
CUFAttrsIncGen
CUFOpsIncGen

LINK_LIBS
MLIRTargetLLVMIRExport
Expand Down

0 comments on commit c94275b

Please sign in to comment.