]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Properly search for fasttext include
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 13 Nov 2023 10:55:43 +0000 (10:55 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 13 Nov 2023 10:55:43 +0000 (10:55 +0000)
CMakeLists.txt

index 3b8465903ba192cd677ff03ae26294674c36f258..5aab5969ef80c9ce375a4098a2d3726a47a2b8f3 100644 (file)
@@ -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 ()