Skip to content

Commit

Permalink
Use PATHS not HINTS
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetrini15 committed Aug 16, 2024
1 parent b377dcd commit a17baf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ ENDFOREACH(p)

# NOTE: TRT 10 for Windows added the version suffix to the library names. See the release notes:
# https://docs.nvidia.com/deeplearning/tensorrt/release-notes/index.html#tensorrt-10
find_library(NVINFER_LIBRARY NAMES nvinfer nvinfer_10 HINTS "/usr/local/cuda/targets/x86_64-linux/lib")
find_library(NVINFER_PLUGIN_LIBRARY NAMES nvinfer_plugin nvinfer_plugin_10 HINTS "/usr/local/cuda/targets/x86_64-linux/lib")
find_library(NVINFER_LIBRARY NAMES nvinfer nvinfer_10 PATHS "/usr/local/cuda/targets/x86_64-linux/lib")
find_library(NVINFER_PLUGIN_LIBRARY NAMES nvinfer_plugin nvinfer_plugin_10 PATHS "/usr/local/cuda/targets/x86_64-linux/lib")
target_link_libraries(
triton-tensorrt-backend
PRIVATE
Expand Down

0 comments on commit a17baf9

Please sign in to comment.