don't search for lua 5.1 anymore
authorsheepluva
Mon, 28 Apr 2014 21:01:39 +0200
changeset 10232 93afc42147c8
parent 10231 b2a68e75e55c
child 10233 aef994a2ec1a
don't search for lua 5.1 anymore
cmake_modules/FindLua.cmake
--- a/cmake_modules/FindLua.cmake	Mon Apr 28 19:01:08 2014 +0400
+++ b/cmake_modules/FindLua.cmake	Mon Apr 28 21:01:39 2014 +0200
@@ -17,8 +17,8 @@
 
 find_path(LUA_INCLUDE_DIR lua.h
                           PATHS /usr/include /usr/local/include /usr/pkg/include
-                          PATH_SUFFIXES lua5.2 lua52 lua5.1 lua51)
-find_library(LUA_LIBRARY NAMES lua52 lua5.2 lua-5.2 lua51 lua5.1 lua-5.1 lua
+                          PATH_SUFFIXES lua5.2 lua52)
+find_library(LUA_LIBRARY NAMES lua52 lua5.2 lua-5.2 lua
                          PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib)
 
 find_package_handle_standard_args(Lua DEFAULT_MSG LUA_LIBRARY LUA_INCLUDE_DIR)