Skip to content

Commit

Permalink
Merge pull request #507 from Kitware/dev/darknet-docker-fix
Browse files Browse the repository at this point in the history
add stubs directory to lib path
  • Loading branch information
dstoup authored Mar 11, 2019
2 parents 8d5c66d + 9b39b9b commit 03dec61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/External_Darknet.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else()
unset(fletch_ENABLE_Darknet_CUDNN CACHE)
endif()
if(fletch_ENABLE_Darknet_CUDA)
set( DARKNET_GPU_ARGS -DUSE_GPU:BOOL=ON -DCUDA_TOOLKIT_ROOT_DIR:PATH=${CUDA_TOOLKIT_ROOT_DIR})
set( DARKNET_GPU_ARGS -DUSE_GPU:BOOL=ON -DCUDA_TOOLKIT_ROOT_DIR:PATH=${CUDA_TOOLKIT_ROOT_DIR} -DCMAKE_LIBRARY_PATH=${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs)
if (fletch_ENABLE_Darknet_CUDNN)
set(DARKNET_CUDNN_ARGS -DUSE_CUDNN:BOOL=ON -DCUDNN_ROOT_DIR:PATH=${CUDNN_ROOT_DIR})
else()
Expand Down

0 comments on commit 03dec61

Please sign in to comment.