diff options
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 47ec0f8b5..eff4316cc 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -587,6 +587,9 @@ function _finish_requireinfo(requireinfo, package) if readonly == nil then readonly = package:extraconf("configs", "vs_runtime", "readonly") end + if default ~= nil or readonly ~= nil then + wprint("please use add_configs(\"runtimes\") instead of add_configs(\"vs_runtime\").") + end end if readonly and current ~= default then wprint("configs.%s is readonly in package(%s), it's always %s", name, package:name(), default) |
