Skip to content

Commit 180a8bc

Browse files
tuliomtomtor
authored andcommitted
[MLIR] Use mlir_target_link_libraries with MLIRTestIRDLToCppDialect (llvm#143435)
Replace LINK_LIBS with mlir_target_link_libraries. Fixes llvm#143246. Suggested-by: Nikita Popov <[email protected]>
1 parent 30fb997 commit 180a8bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/test/lib/Dialect/TestIRDLToCpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ add_mlir_library(MLIRTestIRDLToCppDialect
77

88
DEPENDS
99
TestIRDLToCppGen
10+
)
1011

11-
LINK_LIBS PUBLIC
12+
mlir_target_link_libraries(MLIRTestIRDLToCppDialect PUBLIC
1213
MLIRIR
1314
MLIRPass
1415
MLIRTransforms

0 commit comments

Comments
 (0)