diff options
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/project.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index d28fde282..b869cb10a 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -159,6 +159,9 @@ function sandbox_core_project._load_package_rules_for_target(target) target:rule_add(dep) end end + else + -- @see https://github.com/xmake-io/xmake/issues/6682 + raise("target(\"%s\"): unknown package rule in add_rules(\"%s\")", target:fullname(), rulename) end end end |
