summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorskallweitNV <64953474+skallweitNV@users.noreply.github.com>2024-03-15 18:25:21 +0100
committerGitHub <noreply@github.com>2024-03-15 10:25:21 -0700
commit9ee88a43f4e67d9c714c27bf968401b6bf7524af (patch)
tree11c0f7b46168d7885f2ac220ae8bd8f51d40ac83 /premake5.lua
parentd40931cc8bde13520ea45769cf94e7cc6cc9065f (diff)
[gfx] use CUDA driver API (#3776)
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index 19fc9c6fa..1cfe33517 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -530,7 +530,7 @@ function addCUDAIfEnabled()
filter {}
includedirs { cudaPath .. "/include" }
includedirs { cudaPath .. "/include", cudaPath .. "/common/inc" }
- links { "cuda", "cudart" }
+ links { "cuda" }
if optixPath then
defines { "RENDER_TEST_OPTIX" }
includedirs { optixPath .. "include/" }
@@ -557,7 +557,7 @@ function addCUDAIfEnabled()
filter { "platforms:x64" }
libdirs { cudaPath .. "/lib64/" }
filter {}
- links { "cuda", "cudart" }
+ links { "cuda" }
else
print "Error: CUDA is enabled but --cuda-sdk-path is not specified."
end