Remove /GL for libgit2 on windows (#3059)

pull/3060/head
Darcy Shen 11 months ago committed by GitHub
parent 9886374ff6
commit f2b7778fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/l/libgit2/xmake.lua

@ -41,6 +41,7 @@ package("libgit2")
table.insert(configs, "-DSTATIC_CRT=OFF")
end
io.replace("CMakeLists.txt", "/GL", "", {plain = true})
io.replace("cmake/DefaultCFlags.cmake", "/GL", "", {plain = true}) -- for 1.7.1
end
import("package.tools.cmake").install(package, configs)
end)

Loading…
Cancel
Save