From adb1d5694d18623d36ae411b7aa8053703118ff2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 12 Dec 2016 01:32:02 +0000 Subject: [PATCH] cmake: fix detection of newer Hunspell sadly, Hunspell does not provide non-versioned library Signed-off-by: Ivailo Monev --- cmake/modules/FindHUNSPELL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindHUNSPELL.cmake b/cmake/modules/FindHUNSPELL.cmake index f028abeb..545dc614 100644 --- a/cmake/modules/FindHUNSPELL.cmake +++ b/cmake/modules/FindHUNSPELL.cmake @@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES) FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx ) -FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2) +FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2) # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if # all listed variables are TRUE