@@ -26,9 +26,9 @@ package("bgfx")
2626 add_includedirs (" include" , " include/compat/msvc" )
2727 add_cxxflags (" /Zc:__cplusplus" , {tools = {" msvc" , " cl" , " clang_cl" , " clang-cl" }})
2828 elseif is_plat (" macosx" ) then
29- add_frameworks (" Metal" , " QuartzCore" , " Cocoa" , " IOKit" , " VideoToolbox" )
29+ add_frameworks (" Metal" , " QuartzCore" , " Cocoa" , " IOKit" , " VideoToolbox" , " CoreMedia " , " CoreVideo " )
3030 elseif is_plat (" iphoneos" ) then
31- add_frameworks (" OpenGLES" , " CoreGraphics" , " Metal" , " QuartzCore" , " UIKit" , " VideoToolbox" )
31+ add_frameworks (" OpenGLES" , " CoreGraphics" , " Metal" , " QuartzCore" , " UIKit" , " VideoToolbox" , " CoreMedia " , " CoreVideo " )
3232 elseif is_plat (" linux" ) then
3333 add_deps (" libx11" )
3434 add_syslinks (" GL" , " pthread" , " dl" )
@@ -78,7 +78,7 @@ package("bgfx")
7878 local configs = {}
7979 table.insert (configs , " /p:Configuration=" .. mode )
8080 table.insert (configs , " /p:Platform=" .. (package :is_arch (" x64" ) and " x64" or " Win32" ))
81- table.insert (configs , tonumber (vs ) >= 2026 and " bgfx.slnx" or " bgfx.sln" )
81+ table.insert (configs , tonumber (msvc : config ( " vs " ) ) >= 2026 and " bgfx.slnx" or " bgfx.sln" )
8282 os .cd (format (" .build/projects/vs%s" , msvc :config (" vs" )))
8383 msbuild .build (package , configs )
8484
0 commit comments