We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dacfc63 commit 622f0b1Copy full SHA for 622f0b1
cmake/FetchOnnxruntime.cmake
@@ -89,10 +89,7 @@ else()
89
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
90
set(Onnxruntime_INSTALL_LIBS ${Onnxruntime_LINK_LIBS} ${Onnxruntime_ADDITIONAL_LIBS})
91
else()
92
- set(Onnxruntime_INSTALL_LIBS
93
- ${Onnxruntime_LINK_LIBS} ${Onnxruntime_ADDITIONAL_LIBS}
94
- "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_cuda.so"
95
- "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_tensorrt.so")
+ set(Onnxruntime_INSTALL_LIBS ${Onnxruntime_LINK_LIBS} ${Onnxruntime_ADDITIONAL_LIBS})
96
endif()
97
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ${Onnxruntime_LINK_LIBS})
98
target_include_directories(${CMAKE_PROJECT_NAME} SYSTEM PUBLIC "${onnxruntime_SOURCE_DIR}/include")
0 commit comments