diff options
author | Ryan Qian <i@bitbili.net> | 2022-12-11 11:13:24 +0800 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-11 15:16:23 +0100 |
commit | 1316f3eb6d8e4d8461fe14ad1e71f80c892d8923 (patch) | |
tree | a14006b14e9c6127608cfa145f59284dd1da62f6 /cmake/FindENCHANT.cmake | |
parent | a0e5e2a375580be8daa61ddce3340dbe231c81bf (diff) | |
download | weechat-1316f3eb6d8e4d8461fe14ad1e71f80c892d8923.zip |
cmake: add support of compiling with enchant-2 for the Spell plugin
Diffstat (limited to 'cmake/FindENCHANT.cmake')
-rw-r--r-- | cmake/FindENCHANT.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindENCHANT.cmake b/cmake/FindENCHANT.cmake index 3fbcb35ee..24c3ae683 100644 --- a/cmake/FindENCHANT.cmake +++ b/cmake/FindENCHANT.cmake @@ -27,11 +27,11 @@ else() find_path(ENCHANT_INCLUDE_DIR NAMES enchant++.h HINTS ${PC_ENCHANT_INCLUDEDIR} ${PC_ENCHANT_INCLUDE_DIRS} - PATH_SUFFIXES enchant + PATH_SUFFIXES enchant-2 enchant ) find_library(ENCHANT_LIBRARIES - NAMES enchant + NAMES enchant-2 enchant HINTS ${PC_ENCHANT_LIBDIR} ${PC_ENCHANT_LIBRARY_DIRS} ) |