summaryrefslogtreecommitdiffstats
path: root/Modules/Internal/CUDAToolkit.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Internal/CUDAToolkit.cmake')
-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()