Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Jan 5, 2025
1 parent 5af9e0a commit 1b029d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/m/miniz/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ package("miniz")

add_urls("https://github.com/richgel999/miniz/archive/refs/tags/$(version).tar.gz",
"https://github.com/richgel999/miniz.git")

add_versions("3.0.2", "c4b4c25a4eb81883448ff8924e6dba95c800094a198dc9ce66a292ac2ef8e018")

add_deps("cmake")

on_install(function (package)
local configs = {"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW", "-DBUILD_EXAMPLES=OFF", "-DBUILD_TESTS=OFF", "-DINSTALL_PROJECT=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
Expand Down

0 comments on commit 1b029d6

Please sign in to comment.