Skip to content

Commit

Permalink
Merge pull request #3561 from yu239/cmake
Browse files Browse the repository at this point in the history
fix EXTERNAL_LIBS in CMakeLists.txt
  • Loading branch information
gangliao authored Aug 18, 2017
2 parents 940b4a9 + a107181 commit 428ce90
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 @@ -137,9 +137,9 @@ set(EXTERNAL_LIBS
)

if(WITH_GPU)
list(APPEND EXTERNAL_LIB ${CUDA_LIBRARIES} ${CUDA_rt_LIBRARY})
list(APPEND EXTERNAL_LIBS ${CUDA_LIBRARIES} ${CUDA_rt_LIBRARY})
if(NOT WITH_DSO)
list(APPEND EXTERNAL_LIB ${CUDNN_LIBRARY} ${CUDA_CUBLAS_LIBRARIES} ${CUDA_curand_LIBRARY})
list(APPEND EXTERNAL_LIBS ${CUDNN_LIBRARY} ${CUDA_CUBLAS_LIBRARIES} ${CUDA_curand_LIBRARY})
endif(NOT WITH_DSO)
endif(WITH_GPU)

Expand Down

0 comments on commit 428ce90

Please sign in to comment.