Skip to content

Commit 8d2dbae

Browse files
authored
Update xmake.lua
1 parent d525b10 commit 8d2dbae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/b/bgfx/xmake.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ package("bgfx")
117117
local envs = make.buildenvs(package)
118118
envs.BX_DIR = bxdir
119119
envs.BIMG_DIR = bimgdir
120-
120+
121+
if package:version() and package:version():ge("9392") and package:is_plat("windows") and package:is_arch("arm64") then
122+
io.replace(path.join(bxdir, "include/bx/simd_t.h"), '#include <arm_neon.h>', '#include <stdint.h>\n#include <arm_neon.h>', {plain = true})
123+
end
121124
if package:version() and package:version():ge("9392") and package:is_plat("iphoneos") then
122125
io.replace("scripts/bgfx.lua", 'configuration { "osx*" }', 'configuration { "ios*" }\n\t\tbuildoptions { "-x objective-c++" }\n\tconfiguration { "osx*" }', {plain = true})
123126
end

0 commit comments

Comments
 (0)