mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Disable warning LNK4098
Even with lots of effort [1] to isolate the offending library there is little to be had, as such disable the warning. [1] https://gitea.wildfiregames.com/0ad/0ad/pulls/7798#issuecomment-119332 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -461,6 +461,13 @@ function project_create(project_name, target_type)
|
||||
linkoptions "/ignore:4221"
|
||||
filter {}
|
||||
|
||||
if arch == "amd64" then
|
||||
filter { "Debug", "action:vs*" }
|
||||
-- FIXME: disable LNK4098, some of the prebuilt libs for 64bit debug build have non matching options.
|
||||
linkoptions "/ignore:4098"
|
||||
filter {}
|
||||
end
|
||||
|
||||
project_set_target(project_name)
|
||||
project_set_build_flags()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user