]> source.dussan.org Git - rspamd.git/commitdiff
Fix finding headers from luajit 228/head
authorAndrew Lewis <nerf@judo.za.org>
Thu, 19 Mar 2015 10:11:48 +0000 (12:11 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 19 Mar 2015 10:30:13 +0000 (12:30 +0200)
CMakeLists.txt

index f23205044341ba38f4ea8c005397b5597bc52ad4..8163671f21435ff96432f31ab4117386d927604a 100644 (file)
@@ -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