From: Vsevolod Stakhov Date: Mon, 13 Nov 2023 10:55:43 +0000 (+0000) Subject: [Minor] Properly search for fasttext include X-Git-Tag: 3.7.4~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e8b798e06896764b1906bd2f3a5abaa9a917d45;p=rspamd.git [Minor] Properly search for fasttext include --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 28a3075e6..60f5172e6 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 ()