summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 4de256321..f783173bc 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -552,13 +552,14 @@ toolSharedLibrary "render-test"
includedirs { cudaPath .. "/include" }
includedirs { cudaPath .. "/include", cudaPath .. "/common/inc" }
+ links { "cuda", "cudart" }
+
filter { "platforms:x86" }
libdirs { cudaPath .. "/lib/Win32/" }
filter { "platforms:x64" }
libdirs { cudaPath .. "/lib/x64/" }
- links { "cuda", "cudart" }
end
--