cmake_modules/FindLua.cmake
changeset 9215 ec72ef9186f5
parent 9208 acb2492288e5
child 10230 361d36ec5181
--- a/cmake_modules/FindLua.cmake	Wed Jun 12 16:44:53 2013 +0200
+++ b/cmake_modules/FindLua.cmake	Wed Jun 12 18:48:34 2013 +0200
@@ -17,7 +17,7 @@
 
 find_path(LUA_INCLUDE_DIR lua.h
                           PATHS /usr/include /usr/local/include /usr/pkg/include
-                          PATH_SUFFIXES lua5.1)
+                          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)