diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-01 14:37:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-01 14:37:58 +0100 |
commit | e6ef36e2daea0974ad08f1bf9c91695a4b4957c7 (patch) | |
tree | b3923ca57f60796442656bbe8d05ddb1924d730c | |
parent | 8d7e8ec7590cd4f25626f788827f71e51b7777f2 (diff) | |
download | rspamd-e6ef36e2daea0974ad08f1bf9c91695a4b4957c7.tar.gz rspamd-e6ef36e2daea0974ad08f1bf9c91695a4b4957c7.zip |
Fix luajit detection if lua is also installed.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f0c5c07f..d0359a581 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ MACRO(FindLua) IF(ENABLE_LUAJIT MATCHES "ON") MESSAGE(STATUS "Check for luajit ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}") - FIND_PATH(LUA_INCLUDE_DIR lua.h + FIND_PATH(LUA_INCLUDE_DIR luajit.h HINTS "${RSPAMD_SEARCH_PATH}" "${LUA_ROOT}" $ENV{LUA_DIR} |