From 0d7b81adc23d72038397c4fa502d3c8301b41390 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 29 Nov 2016 11:23:28 +0100 Subject: [PATCH] cmake: Add missing luajit include dirs /usr/include/luajit-5_1-2.0 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dbbd7219..40285ee19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,6 +221,8 @@ MACRO(FindLua) "include/luajit${LUA_VERSION_MAJOR}${LUA_VERSION_MINOR}" "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.0" + "include/luajit-${LUA_VERSION_MAJOR}_${LUA_VERSION_MINOR}-2.1" "include/luajit" "include/lua${LUA_VERSION_MAJOR}${LUA_VERSION_MINOR}" "include/lua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}" -- 2.39.5