diff options
| -rw-r--r-- | xmake/rules/c++/unity_build/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/unity_build/xmake.lua b/xmake/rules/c++/unity_build/xmake.lua index e0dfa9660..bd82b663a 100644 --- a/xmake/rules/c++/unity_build/xmake.lua +++ b/xmake/rules/c++/unity_build/xmake.lua @@ -19,7 +19,7 @@ -- rule("c.unity_build") - after_load(function (target) + on_config(function (target) import("unity_build") local sourcebatches = target:sourcebatches() if sourcebatches then @@ -41,7 +41,7 @@ rule("c.unity_build") end) rule("c++.unity_build") - after_load(function (target) + on_config(function (target) import("unity_build") local sourcebatches = target:sourcebatches() if sourcebatches then |
