Skip to content

Commit

Permalink
Add forgotten bit from X11 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
erorcun committed Aug 22, 2021
1 parent c52aebe commit 6110f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ project "re3"
-- iterates all configs and runs on them
["dontWrite"] = function (cfg)
check_symbol_exists(cfg, "haveX11", "glfwGetX11Display", { "X11/Xlib.h", "X11/XKBlib.h", "GLFW/glfw3.h", "GLFW/glfw3native.h" }, "GLFW_EXPOSE_NATIVE_X11")
if cfg.autoconf["haveX11"] then
if cfg.autoconf["haveX11"] ~= nil and cfg.autoconf["haveX11"] == 1 then
table.insert(cfg.links, "X11")
table.insert(cfg.defines, "GET_KEYBOARD_INPUT_FROM_X11")
end
Expand Down

0 comments on commit 6110f74

Please sign in to comment.