add a possible lua include path
authorkoda
Wed, 12 Jun 2013 18:48:34 +0200
changeset 9215 ec72ef9186f5
parent 9214 bcb103c0a34a
child 9216 29372f16ddce
add a possible lua include path
cmake_modules/FindLua.cmake
--- 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)