summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 00:57:01 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-08-22 12:00:33 +0200
commit6110f74ad66fea524b0983695f6f6f2b5dd2002f (patch)
tree742c6f6d003d18d21f676b6b05b6873acde70405
parentFix an original bug about entering boat sometimes takes 2 key press (diff)
downloadre3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar.gz
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar.bz2
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar.lz
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar.xz
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.tar.zst
re3-6110f74ad66fea524b0983695f6f6f2b5dd2002f.zip
-rw-r--r--premake5.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index a33623fc..ebbcf4a5 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -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