mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-16 11:40:25 -06:00
Merge topic 'find_cudatoolkit_understand_nvhpc_math_library_location'
d856aaa37d FindCUDAToolkit: Understand NVHPC versioned math library layout
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6405
This commit is contained in:
@@ -844,6 +844,9 @@ if(CUDAToolkit_FOUND)
|
||||
HINTS ${CUDAToolkit_LIBRARY_DIR}
|
||||
ENV CUDA_PATH
|
||||
PATH_SUFFIXES lib64/stubs lib/x64/stubs lib/stubs stubs
|
||||
# Support NVHPC splayed math library layout
|
||||
../../math_libs/${CUDAToolkit_VERSION_MAJOR}.${CUDAToolkit_VERSION_MINOR}/lib64
|
||||
../../math_libs/lib64
|
||||
)
|
||||
|
||||
mark_as_advanced(CUDA_${lib_name}_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user