diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-09 10:11:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-09 10:11:33 +0100 |
commit | 07c6066639e8e44b96f5a1c9306cbbae9a18e0bd (patch) | |
tree | d07c7ee8a777b2334205873164261779c2d60211 /CMakeLists.txt | |
parent | 917e1ca945041431f331a111b9996068c375b3f7 (diff) | |
download | rspamd-07c6066639e8e44b96f5a1c9306cbbae9a18e0bd.tar.gz rspamd-07c6066639e8e44b96f5a1c9306cbbae9a18e0bd.zip |
[Feature] Distinguish luajit from lua
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 22f5e02f4..19da2632d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,8 @@ MACRO(FindLua) PATHS ${RSPAMD_DEFAULT_LIBRARY_PATHS} DOC "Lua library" ) + ELSE() + SET(WITH_LUAJIT 1) ENDIF() ELSE(ENABLE_LUAJIT MATCHES "ON") MESSAGE(STATUS "Check for lua ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}") |