Browse Source

add libx11 to glfw

ruki 4 years ago
parent
commit
322edc5110
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/g/glfw/xmake.lua

+ 1 - 1
packages/g/glfw/xmake.lua

@@ -44,7 +44,7 @@ package("glfw")
             table.insert(configs, "-DUSE_MSVC_RUNTIME_LIBRARY_DLL=" .. (package:config("vs_runtime"):startswith("MT") and "OFF" or "ON"))
             table.insert(configs, "-DUSE_MSVC_RUNTIME_LIBRARY_DLL=" .. (package:config("vs_runtime"):startswith("MT") and "OFF" or "ON"))
         end
         end
         if package:is_plat("linux") then
         if package:is_plat("linux") then
-            import("package.tools.cmake").install(package, configs, {packagedeps = {"libxrender", "libxfixes", "libxext"}})
+            import("package.tools.cmake").install(package, configs, {packagedeps = {"libxrender", "libxfixes", "libxext", "libx11"}})
         else
         else
             import("package.tools.cmake").install(package, configs)
             import("package.tools.cmake").install(package, configs)
         end
         end