diff --git a/CMakeLists.txt b/CMakeLists.txt index 8eadac016..fd5e58b9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ add_subdirectory(python) # set linker options -target_link_libraries(jetson-inference jetson-utils nvinfer nvinfer_plugin nvcaffe_parser) +target_link_libraries(jetson-inference jetson-utils nvinfer nvinfer_plugin nvparsers) if(CUDA_VERSION_MAJOR GREATER 9) target_link_libraries(jetson-inference nvonnxparser) diff --git a/tools/trt-bench/CMakeLists.txt b/tools/trt-bench/CMakeLists.txt index 915ee6dd2..f0b3c7cfa 100644 --- a/tools/trt-bench/CMakeLists.txt +++ b/tools/trt-bench/CMakeLists.txt @@ -3,4 +3,4 @@ file(GLOB trtBenchSources *.cpp) file(GLOB trtBenchIncludes *.h ) cuda_add_executable(trt-bench ${trtBenchSources}) -target_link_libraries(trt-bench nvcaffe_parser nvinfer jetson-inference) +target_link_libraries(trt-bench nvparsers nvinfer jetson-inference) diff --git a/tools/trt-console/CMakeLists.txt b/tools/trt-console/CMakeLists.txt index 6c57146b2..eb36266cf 100644 --- a/tools/trt-console/CMakeLists.txt +++ b/tools/trt-console/CMakeLists.txt @@ -3,4 +3,4 @@ file(GLOB trtConsoleSources *.cpp) file(GLOB trtConsoleIncludes *.h ) cuda_add_executable(trt-console ${trtConsoleSources}) -target_link_libraries(trt-console nvcaffe_parser nvinfer jetson-inference) +target_link_libraries(trt-console nvparsers nvinfer jetson-inference)