r22779 by jghali - Allow cmake to find Hunspell 1.7 (and 1.8, 1.9, ...)
    scribus-commit 
    scribus-commit at lists.scribus.net
       
    Wed Dec  5 22:15:57 UTC 2018
    
    
  
Author: jghali
Date: Wed Dec  5 22:15:57 2018
New Revision: 22779
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22779
Log:
Allow cmake to find Hunspell 1.7 (and 1.8, 1.9, ...)
Modified:
    trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
Modified: trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22779&path=/trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
==============================================================================
--- trunk/Scribus/cmake/modules/FindHUNSPELL.cmake	(original)
+++ trunk/Scribus/cmake/modules/FindHUNSPELL.cmake	Wed Dec  5 22:15:57 2018
@@ -24,7 +24,7 @@
   NO_DEFAULT_PATH
 )
 
-string(REGEX MATCH "1\.([1-6])\.." HUNSPELL_MATCH ${HUNSPELL_VERSION})
+string(REGEX MATCH "1\.([1-9])\.." HUNSPELL_MATCH ${HUNSPELL_VERSION})
 #set(HUNSPELL_MINOR_VERSION ${CMAKE_MATCH_1})
 if(CMAKE_MATCH_1 GREATER 4)
 	set(HUNSPELL_NEWAPI 1)
    
    
More information about the scribus-commit
mailing list