Find lua 5.1 on fedora machines (taken from fedora hw git)
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Mon, 05 Jan 2015 13:28:13 +0100
changeset 10725 b01835e9339d
parent 10722 37264e44ec0f
child 10768 e5d6a6a25b7c
Find lua 5.1 on fedora machines (taken from fedora hw git)
cmake_modules/FindLua.cmake
--- a/cmake_modules/FindLua.cmake	Sat Dec 27 11:36:28 2014 -0500
+++ b/cmake_modules/FindLua.cmake	Mon Jan 05 13:28:13 2015 +0100
@@ -17,7 +17,7 @@
 
 find_path(LUA_INCLUDE_DIR lua.h
                           PATHS /usr/include /usr/local/include /usr/pkg/include
-                          PATH_SUFFIXES lua5.1 lua51)
+                          PATH_SUFFIXES lua5.1 lua51 lua-5.1)
 find_library(LUA_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
                          PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib)