Skip to content

Commit

Permalink
Add missing libraries to glfw
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Aug 12, 2024
1 parent bf11f5b commit 8553d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dependencies/glfw/glfw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De

Solution.Util.SetFiles(files)
Solution.Util.SetDefines({ "_GLFW_X11", "_CRT_SECURE_NO_WARNINGS" })
Solution.Util.SetLinks({ "pthread" })
Solution.Util.SetLinks({ "pthread", "X11" })
end)
end)

Expand All @@ -89,5 +89,6 @@ Solution.Util.CreateDep(dep.NameLow, dep.Dependencies, function()

Solution.Util.SetFilter("system:linux", function()
Solution.Util.SetDefines({ "_GLFW_X11", "_CRT_SECURE_NO_WARNINGS" })
Solution.Util.SetLinks({ "pthread", "X11" })
end)
end)

0 comments on commit 8553d1f

Please sign in to comment.