Skip to content

Commit

Permalink
Remove platform requirements for gcem (#6235)
Browse files Browse the repository at this point in the history
* Remove platform requirements for gcem

* Enable required policy for android
  • Loading branch information
Shiffted authored Jan 27, 2025
1 parent 1b3d631 commit f4cd9a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/g/gcem/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ package("gcem")
add_versions("v1.16.0", "119c742b9371c0adc7d9cd710c3cbc575459a98fb63f6be4c636215dcf8404ce")

add_deps("cmake")
on_install("windows", "macosx", "linux", "mingw", function (package)
import("package.tools.cmake").install(package)
on_install(function (package)
local configs = {"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW"}
import("package.tools.cmake").install(package, configs)
end)

on_test(function (package)
Expand Down

0 comments on commit f4cd9a6

Please sign in to comment.