Update xmake.lua

SirLynix-patch-3
Jérôme Leclercq 6 months ago committed by GitHub
parent c48efe80d5
commit 5702238a69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/y/yasm/xmake.lua

@ -10,6 +10,10 @@ package("yasm")
add_deps("cmake") add_deps("cmake")
if is_host("windows", "msys") then
add_deps("dlfcn-win32")
end
on_install("@windows", "@linux", "@macosx", "@msys", function (package) on_install("@windows", "@linux", "@macosx", "@msys", function (package)
local configs = {"-DYASM_BUILD_TESTS=OFF"} local configs = {"-DYASM_BUILD_TESTS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))

Loading…
Cancel
Save