]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix build with dev version of luajit 1073/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 25 Oct 2016 13:15:50 +0000 (15:15 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 25 Oct 2016 13:15:50 +0000 (15:15 +0200)
CMakeLists.txt

index 882d46a8bfb60638b0ec88bd724aa94347966a42..05d73cf79317a4a60b8e4f12e4f5190cb88f05bf 100644 (file)
@@ -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}"