cmake_modules/FindLua.cmake
changeset 12762 5134c07ce32c
parent 10725 b01835e9339d
--- 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)