Skip to content

Commit 5a89d40

Browse files
committed
update
1 parent 9d32139 commit 5a89d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/onnxruntime_python.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ if (onnxruntime_ENABLE_ATEN)
131131
endif()
132132

133133
if (onnxruntime_ENABLE_DLPACK)
134-
onnxruntime_add_include_to_target(onnxruntime_providers dlpack::dlpack)
134+
target_link_libraries(onnxruntime_providers PRIVATE dlpack::dlpack)
135135
endif()
136136

137137
if (onnxruntime_ENABLE_TRAINING)

0 commit comments

Comments
 (0)