summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 10:53:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 10:53:09 +0000
commit8c7f8e228361b3650bf0fc97c79671e2e0e316c4 (patch)
tree31fd4db4fde1872b5c6214a863dea914a2de5724 /CMakeLists.txt
parentfea72a49aa4cfdf749d8293a031761896f2e4c8f (diff)
parent6a5407046c246abf624dc8f663344866bced2bc4 (diff)
downloadrspamd-8c7f8e228361b3650bf0fc97c79671e2e0e316c4.tar.gz
rspamd-8c7f8e228361b3650bf0fc97c79671e2e0e316c4.zip
Merge pull request #229 from fatalbanana/master
Fix finding headers from luajit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 070f418d5..81bb3468b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,7 +131,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