mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
SCons: Fix MSVC warning LNK4042 about dupe objects in regex
This commit is contained in:
parent
52aae6d4f1
commit
3fd9452a8c
@ -58,10 +58,10 @@ if env["builtin_pcre2"]:
|
||||
env_pcre2["OBJSUFFIX"] = "_" + width + env_pcre2["OBJSUFFIX"]
|
||||
env_pcre2.Append(CPPDEFINES=[("PCRE2_CODE_UNIT_WIDTH", width)])
|
||||
env_pcre2.add_source_files(thirdparty_obj, thirdparty_sources)
|
||||
env.modules_sources += thirdparty_obj
|
||||
|
||||
pcre2_builtin("16")
|
||||
pcre2_builtin("32")
|
||||
env.modules_sources += thirdparty_obj
|
||||
|
||||
|
||||
# Godot source files
|
||||
|
Loading…
Reference in New Issue
Block a user