Skip to content

Commit

Permalink
More premake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gboisse committed Jan 22, 2018
1 parent 542791b commit c916bc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Calc/Calc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ project "Calc"
includedirs { ".", "./inc", "../CLW" }
files { "../Calc/**.h", "../Calc/**.cpp"}

links {"CLW"}
if _OPTIONS["use_opencl"] then
links {"CLW"}
end

configuration {"x32", "Debug"}
targetdir "../../Bin/Debug/x86"
Expand Down
4 changes: 2 additions & 2 deletions RadeonRays/RadeonRays.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ project "RadeonRays"
end
if vulkanSDKPath ~= nil then
configuration {"x32"}
libdirs { vulkanSDKPath .. "/Bin32" }
libdirs { vulkanSDKPath .. "/Lib32" }
configuration {"x64"}
libdirs { vulkanSDKPath .. "/Bin" }
libdirs { vulkanSDKPath .. "/Lib" }
configuration {}
end
if os.is("macosx") then
Expand Down
4 changes: 2 additions & 2 deletions UnitTest/UnitTest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ project "UnitTest"
end
if vulkanSDKPath ~= nil then
configuration {"x32"}
libdirs { vulkanSDKPath .. "/Bin32" }
libdirs { vulkanSDKPath .. "/Lib32" }
configuration {"x64"}
libdirs { vulkanSDKPath .. "/Bin" }
libdirs { vulkanSDKPath .. "/Lib" }
configuration {}
end
if os.is("macosx") then
Expand Down

0 comments on commit c916bc3

Please sign in to comment.