Skip to content

Commit

Permalink
fix rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Feb 8, 2024
1 parent e1be722 commit 6b4d1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xmake/rules/nzsl2spv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ do
-- for c++ module dependency discovery
on_load(function(target)
if target:rule("c++.build.modules") then
local rule = target:rule("c++.build"):clone()
rule:add("deps", "wayland.protocols", { order = true })
local rule = target:rule("c++.build.modules"):clone()
rule:add("deps", "compile.shaders", { order = true })
target:rule_add(rule)
end
end)
Expand Down
2 changes: 1 addition & 1 deletion xmake/rules/wayland-protocols.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ do

on_load(function(target)
if target:rule("c++.build") then
local rule = target:rule("c++.build"):clone()
local rule = target:rule("c++.build.modules"):clone()
rule:add("deps", "wayland.protocols", { order = true })
target:rule_add(rule)
end
Expand Down

0 comments on commit 6b4d1d2

Please sign in to comment.