summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/project/project.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index a673513ef..31d858c9c 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -539,6 +539,8 @@ function project._load_targets()
end
end
table.insert(t._ORDERULES, r)
+ else
+ return nil, string.format("unknown rule(%s) in target(%s)!", rulename, t:name())
end
end