Skip to content

Commit

Permalink
[Fix] del libcudnn dependency in CMakeLists (PaddlePaddle#2974)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyantao-murray authored Feb 15, 2023
1 parent 8bd237f commit e46a184
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deploy/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ if(WITH_GPU)
set(DEPS ${DEPS} ${TENSORRT_LIB_DIR}/libnvinfer_plugin${CMAKE_SHARED_LIBRARY_SUFFIX})
endif()
set(DEPS ${DEPS} ${CUDA_LIB}/libcudart${CMAKE_SHARED_LIBRARY_SUFFIX})
set(DEPS ${DEPS} ${CUDA_LIB}/libcudnn${CMAKE_SHARED_LIBRARY_SUFFIX})
else()
SET(CUDA_LIB "" CACHE PATH "Location of libraries")
if (USE_TENSORRT)
Expand Down

0 comments on commit e46a184

Please sign in to comment.