mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Do not require literal message ids in Atlas
In >=wxWidgets-3.3 there is a new static check for literal message ids[1] so that xgettext would reliable work to extract strings to translate. As we don't translate Atlas at all nor use xgettext just disable the check to allow building against >=wxWidgets-3.3. [1] https://wxwidgets.org/help/msgid-literals/ Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -734,6 +734,7 @@ extern_lib_defs = {
|
|||||||
-- so we have to use wxwidgets' own config tool
|
-- so we have to use wxwidgets' own config tool
|
||||||
pkgconfig.add_includes(nil, wx_config_path(), "--unicode=yes --cxxflags")
|
pkgconfig.add_includes(nil, wx_config_path(), "--unicode=yes --cxxflags")
|
||||||
end
|
end
|
||||||
|
defines({ "wxNO_REQUIRE_LITERAL_MSGIDS" })
|
||||||
end,
|
end,
|
||||||
link_settings = function()
|
link_settings = function()
|
||||||
if os.istarget("windows") then
|
if os.istarget("windows") then
|
||||||
|
|||||||
Reference in New Issue
Block a user