Skip to content

Commit

Permalink
Filter on system linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper authored Jul 29, 2024
1 parent d290694 commit 66dea04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dependencies/glfw/glfw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De
Solution.Util.SetDefines({ "_GLFW_WIN32", "_CRT_SECURE_NO_WARNINGS" })
end)

Solution.Util.SetFilter("platforms:Linux", function()
Solution.Util.SetFilter("system:linux", function()
local files =
{
sourceDir .. "/x11_platform.h",
Expand Down Expand Up @@ -79,7 +79,7 @@ Solution.Util.CreateDep(dep.NameLow, dep.Dependencies, function()
Solution.Util.SetDefines({ "_GLFW_WIN32", "_CRT_SECURE_NO_WARNINGS" })
end)

Solution.Util.SetFilter("platforms:Linux", function()
Solution.Util.SetFilter("system:linux", function()
Solution.Util.SetDefines({ "_GLFW_X11", "_CRT_SECURE_NO_WARNINGS" })
end)
end)

0 comments on commit 66dea04

Please sign in to comment.