summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-05-17 14:25:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-05-17 14:25:44 +0200
commit81e037b1ce0fe4c57413c0d2221f3566f30326f6 (patch)
tree0ac40f1ddc03d58708f1a4d5a72eaf1e4f15f703
parent486ed2b0da22ca37e45f070472094118f3be99b9 (diff)
downloadweechat-81e037b1ce0fe4c57413c0d2221f3566f30326f6.zip
lua: add detection of Lua 5.3
-rw-r--r--ChangeLog.asciidoc1
-rw-r--r--cmake/FindLua.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index 22e7aa0bc..b8d4898fa 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -19,6 +19,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
=== Bugs fixed
+* lua: add detection of Lua 5.3
* doc: replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions
(closes #354)
diff --git a/cmake/FindLua.cmake b/cmake/FindLua.cmake
index 903baa074..549c53341 100644
--- a/cmake/FindLua.cmake
+++ b/cmake/FindLua.cmake
@@ -35,5 +35,5 @@ endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
- pkg_search_module(LUA lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
+ pkg_search_module(LUA lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
endif()