mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 10:23:44 +00:00
Add forgotten bit from X11 detection
This commit is contained in:
parent
c52aebe8e7
commit
6110f74ad6
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ project "re3"
|
||||||
-- iterates all configs and runs on them
|
-- iterates all configs and runs on them
|
||||||
["dontWrite"] = function (cfg)
|
["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")
|
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.links, "X11")
|
||||||
table.insert(cfg.defines, "GET_KEYBOARD_INPUT_FROM_X11")
|
table.insert(cfg.defines, "GET_KEYBOARD_INPUT_FROM_X11")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue