This repository was archived by the owner on Jul 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ if(MSVC)
9595 configure_file (${CMAKE_CURRENT_BINARY_DIR} /${ONNX_RUNTIME} /runtimes/${ARCH} /native/onnxruntime.lib ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /onnxruntime.lib COPYONLY )
9696 configure_file (${CMAKE_CURRENT_BINARY_DIR} /${ONNX_RUNTIME} /runtimes/${ARCH} /native/onnxruntime.pdb ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /onnxruntime.pdb COPYONLY )
9797else ()
98- target_link_libraries (${PROJECT_NAME} _node ${ CMAKE_CURRENT_BINARY_DIR} /${ONNX_RUNTIME} /runtimes/${ARCH} /native/libonnxruntime.so)
99- configure_file (${CMAKE_CURRENT_BINARY_DIR} / ${ONNX_RUNTIME} /runtimes/ ${ARCH} /native/ libonnxruntime.so ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /libonnxruntime.so COPYONLY )
98+ configure_file (${CMAKE_CURRENT_BINARY_DIR} /${ONNX_RUNTIME} /runtimes/${ARCH} /native/libonnxruntime.so ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} / ${PROJECT_NAME} /libonnxruntime.so.1.4.0 COPYONLY )
99+ target_link_libraries (${PROJECT_NAME} _node ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} / ${PROJECT_NAME} / libonnxruntime.so.1.4.0 )
100100endif ()
101101
102102# The node expects to use the Tiny YOLO model available in the ONNX model zoo.
You can’t perform that action at this time.
0 commit comments