diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-08-07 08:14:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-08-07 08:14:04 +0100 |
commit | be8b130d14166145787f4e8e9b194b98c98c873d (patch) | |
tree | 222e8db4421b5ebdfb5fcd124eefdb40c6d174b5 /CMakeLists.txt | |
parent | 3f97820a4301e3062561e2a6339c111a208fb4fa (diff) | |
download | rspamd-be8b130d14166145787f4e8e9b194b98c98c873d.tar.gz rspamd-be8b130d14166145787f4e8e9b194b98c98c873d.zip |
[Minor] Allow to detect torch support from Lua
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c5f874375..82498acdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1267,6 +1267,7 @@ IF(ENABLE_TORCH MATCHES "ON") ADD_SUBDIRECTORY(contrib/torch/paths) ADD_SUBDIRECTORY(contrib/torch/torch7) ADD_SUBDIRECTORY(contrib/torch/nn) + SET(WITH_TORCH 1) ELSE() MESSAGE(FATAL_ERROR "Cannot enable torch without luajit") ENDIF() |