summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-25 08:07:41 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-25 08:07:41 +0200
commit800ab9296056ceeb384985cb223566c981813919 (patch)
tree53e8190b7bb84a7b960abcec3044ce7cc2d73fbf /premake5.lua
parentmodelinfo bits (diff)
parentAudio: refactoring, type fixes, renaming cAudioManager fields (diff)
downloadre3-800ab9296056ceeb384985cb223566c981813919.tar
re3-800ab9296056ceeb384985cb223566c981813919.tar.gz
re3-800ab9296056ceeb384985cb223566c981813919.tar.bz2
re3-800ab9296056ceeb384985cb223566c981813919.tar.lz
re3-800ab9296056ceeb384985cb223566c981813919.tar.xz
re3-800ab9296056ceeb384985cb223566c981813919.tar.zst
re3-800ab9296056ceeb384985cb223566c981813919.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 2dc2fa69..4302eae0 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -384,7 +384,7 @@ project "reLCS"
-- 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