one more pattern
authornemo
Wed, 25 Oct 2017 15:37:16 -0400
changeset 12767 5134c07ce32c
parent 12766 0167e337553b
child 12768 ad67a3804981
one more pattern
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)