cmake_modules/FindLua.cmake
branch0.9.21
changeset 10747 07ade56c3b4a
parent 10238 7e20804db6a2
child 12767 5134c07ce32c
--- a/cmake_modules/FindLua.cmake	Sun Jan 04 14:04:17 2015 -0500
+++ b/cmake_modules/FindLua.cmake	Tue Jan 06 17:07:34 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)