diff options
author | Brad King <brad.king@kitware.com> | 2020-05-27 12:21:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-05-27 12:22:17 (GMT) |
commit | 08f1ee1f5321f5eabfec7b0ce9f565e58cd590be (patch) | |
tree | 562eaaf9a1a67663bbc253d1f9dd359f80def5ab /Modules | |
parent | 340dcadb8bef0f2ac1bdbe36850ec9673d10f5a3 (diff) | |
parent | f2df6f5446a42ad31be96cf2a794a67c3cc96fa1 (diff) | |
download | CMake-08f1ee1f5321f5eabfec7b0ce9f565e58cd590be.zip CMake-08f1ee1f5321f5eabfec7b0ce9f565e58cd590be.tar.gz CMake-08f1ee1f5321f5eabfec7b0ce9f565e58cd590be.tar.bz2 |
Merge topic 'cuda_lib_x64'
f2df6f5446 CUDA: Check for lib/x64 library directory in Internal/CUDAToolkit
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4799
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Internal/CUDAToolkit.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Internal/CUDAToolkit.cmake b/Modules/Internal/CUDAToolkit.cmake index ab1e568..291bb01 100644 --- a/Modules/Internal/CUDAToolkit.cmake +++ b/Modules/Internal/CUDAToolkit.cmake @@ -220,6 +220,8 @@ find_path(CUDAToolkit_INCLUDE_DIR # for find_library() have been initialized. if(EXISTS "${CUDAToolkit_TARGET_DIR}/lib64") set(CUDAToolkit_LIBRARY_DIR "${CUDAToolkit_TARGET_DIR}/lib64") +elseif(EXISTS "${CUDAToolkit_TARGET_DIR}/lib/x64") + set(CUDAToolkit_LIBRARY_DIR "${CUDAToolkit_TARGET_DIR}/lib/x64") elseif(EXISTS "${CUDAToolkit_TARGET_DIR}/lib") set(CUDAToolkit_LIBRARY_DIR "${CUDAToolkit_TARGET_DIR}/lib") endif() |