Skip to content

Commit 99c43e3

Browse files
authored
[MLIR][Python] fix mlir python cmake script (#95939)
Encountered a problem when linking multiple CAPI libs. The `COMMON_CAPI_LINK_LIBS` should be multi_value_keywords here.
1 parent 67a8b88 commit 99c43e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/cmake/modules/AddMLIRPython.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ endfunction()
203203
function(add_mlir_python_modules name)
204204
cmake_parse_arguments(ARG
205205
""
206-
"ROOT_PREFIX;INSTALL_PREFIX;COMMON_CAPI_LINK_LIBS"
207-
"DECLARED_SOURCES"
206+
"ROOT_PREFIX;INSTALL_PREFIX"
207+
"COMMON_CAPI_LINK_LIBS;DECLARED_SOURCES"
208208
${ARGN})
209209
# Helper to process an individual target.
210210
function(_process_target modules_target sources_target)

0 commit comments

Comments
 (0)