Skip to content

Commit

Permalink
Fix building mlir_hlo from an external project
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 504688652
  • Loading branch information
ddunl authored and TensorFlow MLIR Team committed Jan 26, 2023
1 parent 584e7fc commit d391887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mhlo/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ target_link_libraries(MhloDialect
target_include_directories(MhloDialect
PUBLIC
$<BUILD_INTERFACE:${MLIR_HLO_SOURCE_DIR}>
$<BUILD_INTERFACE:${MLIR_HLO_GEN_INCLUDE_DIR}>
)

add_mlir_dialect_library(MhloRegisterDialects
Expand Down

0 comments on commit d391887

Please sign in to comment.