# HG changeset patch # User nemo # Date 1508960236 14400 # Node ID 5134c07ce32cee05a4a1f7622ac8054fd891a9e8 # Parent 0167e337553bf1fb6e9c6143ec07df023337c9c5 one more pattern diff -r 0167e337553b -r 5134c07ce32c cmake_modules/FindLua.cmake --- a/cmake_modules/FindLua.cmake Wed Oct 25 20:38:51 2017 +0200 +++ b/cmake_modules/FindLua.cmake Wed Oct 25 15:37:16 2017 -0400 @@ -18,7 +18,7 @@ find_path(LUA_INCLUDE_DIR lua.h PATHS /usr/include /usr/local/include /usr/pkg/include PATH_SUFFIXES lua5.1 lua51 lua-5.1) -find_library(LUA_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua +find_library(LUA_LIBRARY NAMES liblua lua51 lua5.1 lua-5.1 lua PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib) find_package_handle_standard_args(Lua DEFAULT_MSG LUA_LIBRARY LUA_INCLUDE_DIR)