Skip to content

Commit

Permalink
[44_5] add_requires libgit2
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Jan 8, 2024
1 parent 9508cb4 commit 5c233fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ target("libmogan") do
add_packages("freetype")
add_packages("pdfhummus")
add_packages("s7")
add_packages("libgit2")
if is_plat("linux") then
add_packages("fontconfig")
end
Expand Down
4 changes: 4 additions & 0 deletions xmake/packages.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local FREETYPE_VERSION = "2.12.1"
local LIBPNG_VERSION = "1.6.37"
local LIBJPEG_VERSION = "v9e"
local LIBICONV_VERSION = "1.17"
local LIBGIT2_VERSION = "1.7.1"

-- https://xmake.io/#/manual/package_dependencies?id=inherit-package-configuration
package("lolly")
Expand Down Expand Up @@ -140,4 +141,7 @@ function add_requires_of_mogan()
add_requires("freetype "..FREETYPE_VERSION, {system=false})
add_requireconfs("pdfhummus.freetype", {version = FREETYPE_VERSION, system = false, override=true})
end

-- package: libgit2
add_requires("libgit2 "..LIBGIT2_VERSION, {system=false})
end

0 comments on commit 5c233fe

Please sign in to comment.