diff options
author | Brad King <brad.king@kitware.com> | 2018-08-23 18:51:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-23 18:51:33 (GMT) |
commit | a173118f8c2c5242131150aa81b05049ad0a559c (patch) | |
tree | 9a23f60eb16e4c9e751d185967cc037c1ce5852e /Modules | |
parent | 8a3cba525764e4ea7501a368f5b3396acecc27a3 (diff) | |
parent | 122c79748c30fb80d911591472cba8d6efdb75ae (diff) | |
download | CMake-a173118f8c2c5242131150aa81b05049ad0a559c.zip CMake-a173118f8c2c5242131150aa81b05049ad0a559c.tar.gz CMake-a173118f8c2c5242131150aa81b05049ad0a559c.tar.bz2 |
Merge branch 'cuda-no-cublas_device' into release-3.12
Merge-request: !2296
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeCUDAInformation.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/Windows-NVIDIA-CUDA.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCUDAInformation.cmake b/Modules/CMakeCUDAInformation.cmake index 8e62941..43ae989 100644 --- a/Modules/CMakeCUDAInformation.cmake +++ b/Modules/CMakeCUDAInformation.cmake @@ -185,7 +185,7 @@ if(__IMPLICT_DLINK_DIRS) endif() set(__IMPLICT_DLINK_FLAGS ) foreach(dir ${__IMPLICT_DLINK_DIRS}) - if(EXISTS "${dir}/libcublas_device.a") + if(EXISTS "${dir}/libcurand_static.a") string(APPEND __IMPLICT_DLINK_FLAGS " -L\"${dir}\"") endif() endforeach() 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() |