diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-13 10:55:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-13 10:55:43 +0000 |
commit | 0be20c43fad8ebe466e69496d8217658e3814426 (patch) | |
tree | f693bc46d40f3922af663e171f2c8605cff105be /CMakeLists.txt | |
parent | 76a76e5524159a59cec144f654376d5bf81000cd (diff) | |
download | rspamd-0be20c43fad8ebe466e69496d8217658e3814426.tar.gz rspamd-0be20c43fad8ebe466e69496d8217658e3814426.zip |
[Minor] Properly search for fasttext include
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b8465903..5aab5969e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,8 +242,7 @@ ProcessPackage(SODIUM LIBRARY sodium INCLUDE sodium.h ROOT ${LIBSODIUM_ROOT_DIR} MODULES libsodium>=1.0.0) if (ENABLE_FASTTEXT MATCHES "ON") - ProcessPackage(FASTTEXT LIBRARY fasttext INCLUDE fasttext.h - INCLUDE_SUFFIXES include/fasttext + ProcessPackage(FASTTEXT LIBRARY fasttext INCLUDE fasttext/fasttext.h ROOT ${FASTTEXT_ROOT_DIR} MODULES fasttext) SET(WITH_FASTTEXT "1") endif () |