Parcourir la source

add windows links for raylib

ruki il y a 5 ans
Parent
commit
03dfe942f9
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      packages/r/raylib/xmake.lua

+ 2 - 0
packages/r/raylib/xmake.lua

@@ -18,6 +18,8 @@ package("raylib")
 
 
     if is_plat("macosx") then
     if is_plat("macosx") then
         add_frameworks("OpenGL", "CoreVideo", "CoreGraphics", "AppKit", "IOKit", "CoreFoundation", "Foundation")
         add_frameworks("OpenGL", "CoreVideo", "CoreGraphics", "AppKit", "IOKit", "CoreFoundation", "Foundation")
+    elseif is_plat("windows") then
+        add_syslinks("gdi32", "user32", "winmm")
     end
     end
 
 
     on_install("macosx", function (package)
     on_install("macosx", function (package)