Skip to content

Commit c916bc3

Browse files
committed
More premake fixes
1 parent 542791b commit c916bc3

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Calc/Calc.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ project "Calc"
3030
includedirs { ".", "./inc", "../CLW" }
3131
files { "../Calc/**.h", "../Calc/**.cpp"}
3232

33-
links {"CLW"}
33+
if _OPTIONS["use_opencl"] then
34+
links {"CLW"}
35+
end
3436

3537
configuration {"x32", "Debug"}
3638
targetdir "../../Bin/Debug/x86"

RadeonRays/RadeonRays.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ project "RadeonRays"
128128
end
129129
if vulkanSDKPath ~= nil then
130130
configuration {"x32"}
131-
libdirs { vulkanSDKPath .. "/Bin32" }
131+
libdirs { vulkanSDKPath .. "/Lib32" }
132132
configuration {"x64"}
133-
libdirs { vulkanSDKPath .. "/Bin" }
133+
libdirs { vulkanSDKPath .. "/Lib" }
134134
configuration {}
135135
end
136136
if os.is("macosx") then

UnitTest/UnitTest.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ project "UnitTest"
5555
end
5656
if vulkanSDKPath ~= nil then
5757
configuration {"x32"}
58-
libdirs { vulkanSDKPath .. "/Bin32" }
58+
libdirs { vulkanSDKPath .. "/Lib32" }
5959
configuration {"x64"}
60-
libdirs { vulkanSDKPath .. "/Bin" }
60+
libdirs { vulkanSDKPath .. "/Lib" }
6161
configuration {}
6262
end
6363
if os.is("macosx") then

0 commit comments

Comments
 (0)