aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-23 18:14:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-23 18:14:15 +0100
commit714eb56e1760fdfb26afccde92664d3a2f1e8435 (patch)
tree84d1399acbb92f852b4bd64f9ea5412680b0c6ab /CMakeLists.txt
parent220a51ff68013dd668a45b78c60a7b8bfc10f074 (diff)
downloadrspamd-714eb56e1760fdfb26afccde92664d3a2f1e8435.tar.gz
rspamd-714eb56e1760fdfb26afccde92664d3a2f1e8435.zip
[Minor] Move lua contrib libraries to lua- prefix
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a9373faa..80a804e2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -502,7 +502,7 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/"
"${CMAKE_SOURCE_DIR}/contrib/librdns"
"${CMAKE_SOURCE_DIR}/contrib/aho-corasick"
"${CMAKE_SOURCE_DIR}/contrib/lc-btrie"
- "${CMAKE_SOURCE_DIR}/contrib/lpeg"
+ "${CMAKE_SOURCE_DIR}/contrib/lua-lpeg"
"${CMAKE_BINARY_DIR}/src" #Stored in the binary dir
"${CMAKE_BINARY_DIR}/src/libcryptobox")
@@ -1240,7 +1240,7 @@ ENDIF()
ADD_SUBDIRECTORY(contrib/libucl)
ADD_SUBDIRECTORY(contrib/librdns)
ADD_SUBDIRECTORY(contrib/aho-corasick)
-ADD_SUBDIRECTORY(contrib/lpeg)
+ADD_SUBDIRECTORY(contrib/lua-lpeg)
ADD_SUBDIRECTORY(contrib/linenoise)
ADD_SUBDIRECTORY(contrib/t1ha)
@@ -1261,11 +1261,11 @@ ENDIF()
IF(ENABLE_TORCH MATCHES "ON")
IF(WITH_LUAJIT)
- ADD_SUBDIRECTORY(contrib/torch/paths)
- ADD_SUBDIRECTORY(contrib/torch/torch7)
- ADD_SUBDIRECTORY(contrib/torch/nn)
- ADD_SUBDIRECTORY(contrib/torch/optim)
- ADD_SUBDIRECTORY(contrib/torch/decisiontree)
+ ADD_SUBDIRECTORY(contrib/lua-torch/paths)
+ ADD_SUBDIRECTORY(contrib/lua-torch/torch7)
+ ADD_SUBDIRECTORY(contrib/lua-torch/nn)
+ ADD_SUBDIRECTORY(contrib/lua-torch/optim)
+ ADD_SUBDIRECTORY(contrib/lua-torch/decisiontree)
SET(WITH_TORCH 1)
ELSE()
MESSAGE(FATAL_ERROR "Cannot enable torch without luajit")
@@ -1361,7 +1361,7 @@ INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${LUALIBDIR})
INSTALL(FILES "contrib/lua-argparse/argparse.lua" DESTINATION ${LUALIBDIR})
IF(ENABLE_TORCH MATCHES "ON")
- INSTALL(FILES "contrib/moses/moses.lua" DESTINATION ${LUALIBDIR})
+ INSTALL(FILES "contrib/lua-moses/moses.lua" DESTINATION ${LUALIBDIR})
ENDIF()
# systemd unit