flecs: fix copy pdb

pull/5132/head
star9029 3 months ago
parent bf538685c0
commit b5584ad707
  1. 4
      packages/f/flecs/xmake.lua

@ -5,6 +5,7 @@ package("flecs")
add_urls("https://github.com/SanderMertens/flecs/archive/refs/tags/$(version).tar.gz",
"https://github.com/SanderMertens/flecs.git")
add_versions("v4.0.1", "d88928226b3a6e7ebc7c818db50b2fb5828021ed3bcd206c4e2a3b0406472d2b")
add_versions("v4.0.0", "6c9826c8602f797acd775269d143763adfb3d3a93031cc81bced2b6d267469d2")
add_versions("v3.2.12", "976551dabeecf3ae109648034b8dbc47f39f50226b6d71d76bace1d0b6e2d8ae")
@ -44,6 +45,9 @@ package("flecs")
table.insert(configs, "-DFLECS_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DFLECS_PIC=" .. (package:config("pic") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
local pdb = path.join(package:buildir(), "flecs.pdb")
os.trycp(pdb, package:installdir(package:config("shared") and "bin" or "lib"))
end)
on_test(function (package)

Loading…
Cancel
Save