diff options
author | Tomoharu Kitawaki <git@nstomos.info> | 2023-07-18 08:47:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-07-20 15:34:47 (GMT) |
commit | c2601d01d13bb7d02562223db9b4c1f0e8397b02 (patch) | |
tree | 9823786303c6cd28756b821ba6559ad9d44a3ed7 | |
parent | 01c62f4ff0587537566d06226f7b2e6d37d65c38 (diff) | |
download | CMake-c2601d01d13bb7d02562223db9b4c1f0e8397b02.zip CMake-c2601d01d13bb7d02562223db9b4c1f0e8397b02.tar.gz CMake-c2601d01d13bb7d02562223db9b4c1f0e8397b02.tar.bz2 |
FindCUDAToolkit: Fix nvrtc_builtins library name
The lib is named `libnvrtc-builtins.so`, not `libnvrtc_builtins.so`.
Update the change from commit 2a94c762ed (FindCUDAToolkit: Add support
for CUDA::nvrtc_static, 2023-01-20, v3.26.0-rc1~55^2). Apply a fix
similar to commit 9688a8ebc2 (FindCUDAToolkit: Fix
`nvrtc_builtins_static` library name, 2023-02-03, v3.26.0-rc2~15^2).
-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 724fdf1..cb5da8c 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -1160,7 +1160,7 @@ if(CUDAToolkit_FOUND) endif() endif() - _CUDAToolkit_find_and_add_import_lib(nvrtc_builtins DEPS cuda_driver) + _CUDAToolkit_find_and_add_import_lib(nvrtc_builtins ALT 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 ALT nvrtc-builtins_static DEPS cuda_driver) |