瀏覽代碼

glew: add missing x11 dependecies (#2555)

Simon Pribylski 1 年之前
父節點
當前提交
f9225dbef7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/g/glew/port/xmake.lua

+ 1 - 0
packages/g/glew/port/xmake.lua

@@ -13,6 +13,7 @@ target("glew")
         add_frameworks("OpenGL")
         add_frameworks("OpenGL")
     elseif is_plat("linux") then
     elseif is_plat("linux") then
         add_syslinks("GL")
         add_syslinks("GL")
+        add_packages("libx11", "xorgproto")
     end
     end
     add_defines("GLEW_NO_GLU", {public = true})
     add_defines("GLEW_NO_GLU", {public = true})
     if is_plat("windows") then
     if is_plat("windows") then