Merge pull request #28 from LocutusOfBorg/lua-fix
authorsheepluva <sheepluva@users.noreply.github.com>
Mon, 05 Jan 2015 14:05:09 +0100
changeset 10768 e5d6a6a25b7c
parent 10766 6db59a502434 (current diff)
parent 10725 b01835e9339d (diff)
child 10770 8060cb5c2fa6
Merge pull request #28 from LocutusOfBorg/lua-fix Find lua 5.1 on fedora machines (taken from fedora hw git)
--- a/cmake_modules/FindLua.cmake	Mon Jan 05 14:04:39 2015 +0100
+++ b/cmake_modules/FindLua.cmake	Mon Jan 05 14:05:09 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)