summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-24 17:25:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-08-24 17:35:01 (GMT)
commit36f49faa3cdd18bac40c97f301a8d677dba8efa1 (patch)
tree1bee0cab3cdd5c8742f1edc6bb7d4a9b20819b6e /Modules/Platform
parent7b148e7a3037a7a7d852244e391a7350d8e75d64 (diff)
parent122c79748c30fb80d911591472cba8d6efdb75ae (diff)
downloadCMake-36f49faa3cdd18bac40c97f301a8d677dba8efa1.zip
CMake-36f49faa3cdd18bac40c97f301a8d677dba8efa1.tar.gz
CMake-36f49faa3cdd18bac40c97f301a8d677dba8efa1.tar.bz2
Merge topic 'cuda-no-cublas_device'
122c79748c CUDA: Avoid using deprecated cublas_device to identify device lib dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2296
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-NVIDIA-CUDA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-NVIDIA-CUDA.cmake b/Modules/Platform/Windows-NVIDIA-CUDA.cmake
index f1c1f2d..ba1638f 100644
--- a/Modules/Platform/Windows-NVIDIA-CUDA.cmake
+++ b/Modules/Platform/Windows-NVIDIA-CUDA.cmake
@@ -44,7 +44,7 @@ if(__IMPLICT_DLINK_DIRS)
endif()
set(__IMPLICT_DLINK_FLAGS )
foreach(dir ${__IMPLICT_DLINK_DIRS})
- if(EXISTS "${dir}/cublas_device.lib")
+ if(EXISTS "${dir}/curand_static.lib")
string(APPEND __IMPLICT_DLINK_FLAGS " -L\"${dir}\"")
endif()
endforeach()