Skip to content

Commit 5e0e6a0

Browse files
authored
[MLIR] Use mlir_target_link_libraries with MLIRTestIRDLToCppDialect (#143435)
Replace LINK_LIBS with mlir_target_link_libraries. Fixes #143246. Suggested-by: Nikita Popov <[email protected]>
1 parent 5471d93 commit 5e0e6a0

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)