From eb5e54ab0564672756745f6cb970d0e8071b83da Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 19 Mar 2015 12:11:48 +0200 Subject: [PATCH] Fix finding headers from luajit --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f23205044..8163671f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,8 @@ MACRO(FindLua _major _minor) FIND_PATH(LUA_INCLUDE_DIR lua.h HINTS $ENV{LUA_DIR} - PATH_SUFFIXES "include/lua${_major}${_minor}" + PATH_SUFFIXES "include/luajit-2.0" + "include/lua${_major}${_minor}" "include/lua${_major}.${_minor}" "include/lua-${_major}.${_minor}" include/lua include -- 2.39.5