summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-27 12:21:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-27 12:22:17 (GMT)
commit08f1ee1f5321f5eabfec7b0ce9f565e58cd590be (patch)
tree562eaaf9a1a67663bbc253d1f9dd359f80def5ab /Modules
parent340dcadb8bef0f2ac1bdbe36850ec9673d10f5a3 (diff)
parentf2df6f5446a42ad31be96cf2a794a67c3cc96fa1 (diff)
downloadCMake-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.cmake2
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()