Fix luajit include not being found
authorrubenwardy <rw@rubenwardy.com>
Tue, 8 May 2018 18:06:55 +0000 (19:06 +0100)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000 (17:32 +0200)
cmake/Modules/FindLuaJIT.cmake

index e4335d834879ba022912c402887162e579d2eabb..cd6e7bdd8d9eae8f93b23a66d095e29f126bdea0 100644 (file)
@@ -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