summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
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