CUDAToolkit: CUDA::nvJitLink_static depends on nvptxcompiler_static

Fixes: #27666
This commit is contained in:
Robert Maynard authored and Brad King committed 2026-03-04 14:19:39 -05:00
1 parent 772ed482e9
commit ccf4ddab30
1 file changed
+1 -1
+1 -1
View File
@@ -1315,7 +1315,7 @@ if(CUDAToolkit_FOUND)
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 12.0.0)
_CUDAToolkit_find_and_add_import_lib(nvJitLink)
_CUDAToolkit_find_and_add_import_lib(nvJitLink_static DEPS cudart_static_deps)
_CUDAToolkit_find_and_add_import_lib(nvJitLink_static DEPS cudart_static_deps nvptxcompiler_static)
endif()
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 12.4.0)