summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-11-22 11:23:01 +0100
committerSébastien Helleu <flashcode@flashtux.org>2014-11-22 11:23:01 +0100
commit81e337645c51ab3b842e387c9d7e40b826ff352f (patch)
tree88bbb7f194a85772aab8361d8f6875ba6a335343
parentdoc: update Japanese auto-generated files (diff)
downloadweechat-81e337645c51ab3b842e387c9d7e40b826ff352f.tar.xz
weechat-81e337645c51ab3b842e387c9d7e40b826ff352f.zip
core: fix Lua detection on FreeBSD with cmake
-rw-r--r--cmake/FindLua.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLua.cmake b/cmake/FindLua.cmake
index 66c496664..9149a3f62 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 lua52 lua5.1 lua51 lua5.0 lua50 lua)
+ pkg_search_module(LUA lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
endif()