r22628 by jghali - Allows FindHUNSPELL cmake module to find also hunspell 1.5 and 1.6

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 12 14:02:13 UTC 2018


Author: jghali
Date: Sun Aug 12 14:02:13 2018
New Revision: 22628

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22628
Log:
Allows FindHUNSPELL cmake module to find also hunspell 1.5 and 1.6

Modified:
    branches/Version14x/Scribus/cmake/modules/FindHUNSPELL.cmake

Modified: branches/Version14x/Scribus/cmake/modules/FindHUNSPELL.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22628&path=/branches/Version14x/Scribus/cmake/modules/FindHUNSPELL.cmake
==============================================================================
--- branches/Version14x/Scribus/cmake/modules/FindHUNSPELL.cmake	(original)
+++ branches/Version14x/Scribus/cmake/modules/FindHUNSPELL.cmake	Sun Aug 12 14:02:13 2018
@@ -9,7 +9,10 @@
 #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.4 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
+	PATHS /opt/local/lib /usr/local/lib /usr/lib
+)
 
 INCLUDE(FindPackageHandleStandardArgs)
 # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE




More information about the scribus-commit mailing list