Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Aug 16, 2024
1 parent f50db50 commit b64e228
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dependencies/glfw/glfw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ local function populateDepCache(dep)

if os.target() == "windows" then
-- add win32 defines
Solution.Util.MergeIntoTable(def, { "GLFW_EXPOSE_NATIVE_WIN32" })
Solution.Util.MergeIntoTable(link, { "_GLFW_WIN32" })
Solution.Util.MergeIntoTable(def, { "GLFW_EXPOSE_NATIVE_WIN32", "_GLFW_WIN32" })
else
local useXorg, useWayland = BuildSettings:Get("Using X11"), BuildSettings:Get("Using Wayland")
if(useXorg) then
Expand Down

0 comments on commit b64e228

Please sign in to comment.