From: rubenwardy Date: Tue, 8 May 2018 18:06:55 +0000 (+0100) Subject: Fix luajit include not being found X-Git-Tag: 0.4.17~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e2815d27f16f20c503c34b9a0ab4f917dcab639b;p=oweals%2Fminetest.git Fix luajit include not being found --- diff --git a/cmake/Modules/FindLuaJIT.cmake b/cmake/Modules/FindLuaJIT.cmake index e4335d834..cd6e7bdd8 100644 --- a/cmake/Modules/FindLuaJIT.cmake +++ b/cmake/Modules/FindLuaJIT.cmake @@ -9,7 +9,7 @@ FIND_PATH(LUA_INCLUDE_DIR luajit.h HINTS $ENV{LUA_DIR} - PATH_SUFFIXES include/luajit-2.0 include/luajit-5_1-2.0 include + PATH_SUFFIXES include/luajit-2.1 include/luajit-2.0 include/luajit-5_1-2.1 include/luajit-5_1-2.0 include PATHS ~/Library/Frameworks /Library/Frameworks