mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-03 10:09:43 +03:00
Fix Windows MSVC build
Update the CMake tool so it respects the use_static_cpp godot-cpp option compiling with the proper CRT. Fix inclusion of secur32 in git2 tool.
This commit is contained in:
@@ -53,6 +53,8 @@ def build_library(env, deps):
|
||||
|
||||
env.Append(CPPPATH=["#thirdparty/git2/libgit2/include"])
|
||||
env.Prepend(LIBS=git2[1:])
|
||||
if env["platform"] == "windows":
|
||||
env.PrependUnique(LIBS=["secur32"])
|
||||
|
||||
return git2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user