summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/project/project.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 241c6068f..c05884590 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -545,6 +545,11 @@ function project._load_requires()
extrainfo[k] = nil
end
end
+
+ -- TODO exists deprecated option? show tips
+ if extrainfo.option then
+ os.raise("`option = {}` is no longger supported in add_requires(), please update xmake.lua")
+ end
end
-- add require info