improve bgfx (#1441)

* test bgfx

* remove log
pull/1442/head^2
Hoildkv 2 years ago committed by GitHub
parent a9be1d12b7
commit 0c6b42d03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/b/bgfx/xmake.lua

@ -100,11 +100,11 @@ package("bgfx")
if package:is_plat("macosx") then
os.trycp(".build/" .. target .. "/bin/*.a|*example*", package:installdir("lib"))
os.trycp(".build/" .. target .. "/bin/*.dylib", package:installdir("lib"))
os.trycp(".build/" .. target .. "/bin/*|.build/*.*", package:installdir("bin"))
os.trycp(".build/" .. target .. "/bin/*|*.*", package:installdir("bin"))
elseif package:is_plat("linux") then
os.trycp(".build/" .. target .. "/bin/*.a|*example*", package:installdir("lib"))
os.trycp(".build/" .. target .. "/bin/*.so", package:installdir("lib"))
os.trycp(".build/" .. target .. "/bin/*|.build/*.*", package:installdir("bin"))
os.trycp(".build/" .. target .. "/bin/*|*.*", package:installdir("bin"))
end
end
package:addenv("PATH", "bin")

Loading…
Cancel
Save