[General] Allow luajit-2.1

pull/249/merge
Koncord 8 years ago
parent 0b68e59060
commit 9506f9ca35

@ -47,7 +47,7 @@ find_path(LUA_INCLUDE_DIR lua.h
HINTS HINTS
ENV LUA_DIR ENV LUA_DIR
ENV LUA_INCLUDE_DIR ENV LUA_INCLUDE_DIR
PATH_SUFFIXES include/lua51 include/lua5.1 include/lua-5.1 include/lua include PATH_SUFFIXES include/lua51 include/lua5.1 include/lua-5.1 include/lua include/luajit-2.1 include
PATHS PATHS
~/Library/Frameworks ~/Library/Frameworks
/Library/Frameworks /Library/Frameworks
@ -59,7 +59,7 @@ find_path(LUA_INCLUDE_DIR lua.h
) )
find_library(LUA_LIBRARY find_library(LUA_LIBRARY
NAMES lua51 lua5.1 lua-5.1 lua NAMES lua51 lua5.1 lua-5.1 libluajit-5.1.a lua
HINTS HINTS
ENV LUA_DIR ENV LUA_DIR
PATH_SUFFIXES lib PATH_SUFFIXES lib

Loading…
Cancel
Save