Allow error message to be formatted

This commit is contained in:
SirLynix
2023-08-14 23:16:37 +02:00
committed by Jérôme Leclercq
parent 25957c4b7f
commit a741672a51
119 changed files with 707 additions and 490 deletions

View File

@@ -127,7 +127,6 @@ local modules = {
Network = {
Option = "network",
Deps = {"NazaraCore"},
Packages = { "fmt" },
Custom = function ()
if not is_plat("wasm") then
if has_config("link_curl") then
@@ -519,6 +518,9 @@ for name, module in pairs(modules) do
add_deps(table.unpack(module.Deps))
end
-- fmt is a special package that is not public but required by all Nazara modules
add_packages("fmt")
if module.Packages then
add_packages(table.unpack(module.Packages))
end