Update xmake.lua

This commit is contained in:
Jérôme Leclercq 2022-01-06 20:38:57 +01:00
parent 756fd773a9
commit 504249e70f
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ rule("build_rendererplugins")
if target:kind() == "binary" and (table.contains(deps, "NazaraRenderer") or table.contains(deps, "NazaraGraphics")) then
for name, _ in pairs(modules) do
local depName = "Nazara" .. name
if name:match("^.+Renderer$") and table.contains(deps, depName) == nil then -- don't overwrite dependency
if name:match("^.+Renderer$") and not table.contains(deps, depName) then -- don't overwrite dependency
target:add("deps", depName, {inherit = false})
end
end