diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-03-15 18:25:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 10:25:21 -0700 |
| commit | 9ee88a43f4e67d9c714c27bf968401b6bf7524af (patch) | |
| tree | 11c0f7b46168d7885f2ac220ae8bd8f51d40ac83 /CMakeLists.txt | |
| parent | d40931cc8bde13520ea45769cf94e7cc6cc9065f (diff) | |
[gfx] use CUDA driver API (#3776)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b0b14d6d..49d2ab2f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -481,7 +481,7 @@ if(SLANG_ENABLE_GFX) slang Vulkan-Headers $<$<BOOL:${SLANG_ENABLE_XLIB}>:X11::X11> - $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cudart;CUDA::cuda_driver> + $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cuda_driver> LINK_WITH_FRAMEWORK Cocoa QuartzCore @@ -646,7 +646,7 @@ if(SLANG_ENABLE_TESTS AND SLANG_ENABLE_GFX AND SLANG_ENABLE_SLANGD AND SLANG_ENA gfx gfx-util platform - $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cudart;CUDA::cuda_driver> + $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cuda_driver> EXTRA_COMPILE_DEFINITIONS_PRIVATE $<$<BOOL:${SLANG_ENABLE_CUDA}>:RENDER_TEST_CUDA> $<$<BOOL:${SLANG_ENABLE_OPTIX}>:RENDER_TEST_OPTIX> @@ -676,7 +676,7 @@ if (SLANG_ENABLE_EXAMPLES AND SLANG_ENABLE_GFX) slang gfx platform - $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cudart;CUDA::cuda_driver> + $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cuda_driver> FOLDER examples ) @@ -698,7 +698,7 @@ if (SLANG_ENABLE_EXAMPLES AND SLANG_ENABLE_GFX) gfx gfx-util platform - $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cudart;CUDA::cuda_driver> + $<$<BOOL:${SLANG_ENABLE_CUDA}>:CUDA::cuda_driver> EXTRA_COMPILE_DEFINITIONS_PRIVATE $<$<BOOL:${SLANG_ENABLE_XLIB}>:SLANG_ENABLE_XLIB> REQUIRED_BY all-examples |
