diff options
author | Paul Taylor <25144-trxcllnt@users.noreply.gitlab.kitware.com> | 2023-02-04 01:13:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-06 14:36:43 (GMT) |
commit | 9688a8ebc20ac4b357e10f080cdfb1159c8b2725 (patch) | |
tree | b0cc15d4aec8e9f2429eb347ef7cb03df5de9daf /Modules | |
parent | 2a0c105cf08190284b288057c693eeddef5066fc (diff) | |
download | CMake-9688a8ebc20ac4b357e10f080cdfb1159c8b2725.zip CMake-9688a8ebc20ac4b357e10f080cdfb1159c8b2725.tar.gz CMake-9688a8ebc20ac4b357e10f080cdfb1159c8b2725.tar.bz2 |
FindCUDAToolkit: Fix `nvrtc_builtins_static` library name
Update the change from commit 2a94c762ed (FindCUDAToolkit: Add support
for CUDA::nvrtc_static, 2023-01-20, v3.26.0-rc1~55^2). The lib is named
`libnvrtc-builtins_static.a`, not `libnvrtc_builtins_static.a`.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDAToolkit.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake index cd44cc6..c3b6bc3 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -1122,7 +1122,7 @@ if(CUDAToolkit_FOUND) _CUDAToolkit_find_and_add_import_lib(nvrtc_builtins DEPS cuda_driver) _CUDAToolkit_find_and_add_import_lib(nvrtc DEPS nvrtc_builtins nvJitLink) if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.5.0) - _CUDAToolkit_find_and_add_import_lib(nvrtc_builtins_static DEPS cuda_driver) + _CUDAToolkit_find_and_add_import_lib(nvrtc_builtins_static ALT nvrtc-builtins_static DEPS cuda_driver) _CUDAToolkit_find_and_add_import_lib(nvrtc_static DEPS nvrtc_builtins_static nvptxcompiler_static nvJitLink_static) endif() |