From 868c11401b0dacc44bd91b6ba51bffec10709c92 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 25 Oct 2016 15:15:50 +0200 Subject: [PATCH] [Minor] Fix build with dev version of luajit --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 882d46a8b..05d73cf79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -217,6 +217,7 @@ MACRO(FindLua) "${RSPAMD_SEARCH_PATH}" "${LUA_ROOT}" $ENV{LUA_DIR} PATH_SUFFIXES "include/luajit-2.0" + "include/luajit-2.1" "include/luajit${LUA_VERSION_MAJOR}${LUA_VERSION_MINOR}" "include/luajit${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}" "include/luajit-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}" -- 2.39.5