diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-22 00:57:01 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-22 00:57:01 +0200 |
commit | d81890f6a898d37d9f051a9d1b173935247a09d8 (patch) | |
tree | 3c39089578c678db46dcc4d3d6218d044ff1b446 | |
parent | Fix a bug about switching to previous weapon unintendedly (diff) | |
download | re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar.gz re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar.bz2 re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar.lz re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar.xz re3-d81890f6a898d37d9f051a9d1b173935247a09d8.tar.zst re3-d81890f6a898d37d9f051a9d1b173935247a09d8.zip |
-rw-r--r-- | premake5.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 68e7aa0c..9bb2f52b 100644 --- a/premake5.lua +++ b/premake5.lua @@ -373,7 +373,7 @@ project "reVC" -- 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
|