--- a/cmake_modules/FindLua.cmake Wed May 07 00:04:02 2014 +0400
+++ b/cmake_modules/FindLua.cmake Wed May 07 19:26:05 2014 +0200
@@ -17,9 +17,10 @@
find_path(LUA_INCLUDE_DIR lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
- PATH_SUFFIXES lua5.2 lua52)
-find_library(LUA_LIBRARY NAMES lua52 lua5.2 lua-5.2 lua
+ PATH_SUFFIXES lua5.1 lua51)
+find_library(LUA_LIBRARY NAMES 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)
mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARY)
+