]> 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 11:04:45 +0000 (11:04 +0000)
CMakeLists.txt

index 28a3075e6487aaaa40f429f5c699e01ef4f90703..60f5172e62b92192e67b53105e5c9e150883ee10 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 ()