Allow Lua 5.4

It seems to build, and this entire thing is experimental anyway.
This commit is contained in:
Přemysl Eric Janouch 2020-09-28 04:58:27 +02:00
parent 47415fd7c6
commit 0e147b2ef1
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 4 additions and 4 deletions

View File

@ -41,10 +41,10 @@ else (CURSES_FOUND)
message (SEND_ERROR "Curses not found") message (SEND_ERROR "Curses not found")
endif (ncursesw_FOUND) endif (ncursesw_FOUND)
# FIXME: for "lua" we also need to check that it is < 5.4 # FIXME: for "lua" we also need to check that it is < 5.5
# which doesn't seem to be possible with FindPkgConfig # which doesn't seem to be possible with FindPkgConfig
pkg_search_module (lua lua5.3 lua-5.3 lua>=5.3) pkg_search_module (lua lua5.3 lua-5.3 lua5.4 lua-5.4 lua>=5.3)
option (WITH_LUA "Enable experimental support for Lua 5.3 plugins" ${lua_FOUND}) option (WITH_LUA "Enable experimental support for Lua plugins" ${lua_FOUND})
if (WITH_LUA) if (WITH_LUA)
if (NOT lua_FOUND) if (NOT lua_FOUND)

View File

@ -23,7 +23,7 @@ a package with the latest development version from Archlinux's AUR.
Building and Usage Building and Usage
------------------ ------------------
Build dependencies: CMake, pkg-config, help2man + Build dependencies: CMake, pkg-config, help2man +
Runtime dependenices: curses, openssl, Jansson, lua = 5.3 (optional) Runtime dependenices: curses, openssl, Jansson, lua >= 5.3 (optional)
$ git clone --recursive https://git.janouch.name/p/ponymap.git $ git clone --recursive https://git.janouch.name/p/ponymap.git
$ mkdir ponymap/build $ mkdir ponymap/build