Skip to content

Commit

Permalink
ois: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Oct 17, 2024
1 parent 09dce13 commit 469e4c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/o/ois/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ package("ois")

add_deps("cmake")

if is_plat("linux", "bsd", "android", "wasm", "cross") then
if is_plat("linux", "bsd", "android", "cross") then
add_deps("libx11")
elseif is_plat("macosx") then
elseif is_plat("wasm") then
add_syslinks("x11")
elseif is_plat("macosx", "iphoneos") then
add_frameworks("Cocoa", "Foundation", "Carbon", "IOKit")
elseif is_plat("windows", "mingw") then
add_syslinks("dinput8", "dxguid", "ole32", "oleaut32", "user32", "uuid", "xinput", "winmm")
Expand Down

0 comments on commit 469e4c4

Please sign in to comment.