From 9b39b9b7cec865fe448e98168ff2acb29c159d3d Mon Sep 17 00:00:00 2001 From: Cookt2 Date: Mon, 4 Mar 2019 22:05:24 +0000 Subject: [PATCH] add stubs directory to lib path --- CMake/External_Darknet.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/External_Darknet.cmake b/CMake/External_Darknet.cmake index f1e88e8e..e032bed5 100644 --- a/CMake/External_Darknet.cmake +++ b/CMake/External_Darknet.cmake @@ -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()