summaryrefslogtreecommitdiffstats
path: root/print/scribus/files/patch-cmake_modules_FindHUNSPELL.cmake
blob: 0de78edc9a0ef498540e1e6d17a86b2096229ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- cmake/modules/FindHUNSPELL.cmake.orig	2012-04-10 20:15:53 UTC
+++ cmake/modules/FindHUNSPELL.cmake
@@ -9,7 +9,9 @@
 #Based on examples at http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries
 
 FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib )
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.6
+             hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 hunspell
+  PATHS /opt/local/lib /usr/local/lib /usr/lib )
 
 INCLUDE(FindPackageHandleStandardArgs)
 # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE
OpenPOWER on IntegriCloud