Centralize all cmake/modules/FindHUNSPELL.cmake patches in one file.
While here, note that the addition of hunspell-1.6 was done upstream too.
This commit is contained in:
parent
37b89163da
commit
54085c36e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431563
2 changed files with 9 additions and 13 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Includes the following two upstream commits:
|
||||||
|
|
||||||
|
commit c828f8592fcfd6c2a66ebc18a826de38d6a2fef2
|
||||||
|
Author: Pino Toscano <pino@kde.org>
|
||||||
|
Date: Sat Dec 31 12:08:59 2016 +0100
|
||||||
|
|
||||||
|
cmake: look for hunspell-1.6 as well
|
||||||
|
|
||||||
commit 2ab2745eb01f73355c490ac8d5d1837dec84fd6c
|
commit 2ab2745eb01f73355c490ac8d5d1837dec84fd6c
|
||||||
Author: Wolfgang Bauer <wbauer@tmo.at>
|
Author: Wolfgang Bauer <wbauer@tmo.at>
|
||||||
Date: Thu Oct 20 15:51:29 2016 +0200
|
Date: Thu Oct 20 15:51:29 2016 +0200
|
||||||
|
@ -13,7 +21,7 @@ Date: Thu Oct 20 15:51:29 2016 +0200
|
||||||
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
|
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
|
||||||
|
|
||||||
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
|
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
|
||||||
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
|
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 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
|
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
|
||||||
# all listed variables are TRUE
|
# all listed variables are TRUE
|
|
@ -1,12 +0,0 @@
|
||||||
--- cmake/modules/FindHUNSPELL.cmake.orig 2015-06-26 03:14:18 UTC
|
|
||||||
+++ cmake/modules/FindHUNSPELL.cmake
|
|
||||||
@@ -14,7 +14,8 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL
|
|
||||||
|
|
||||||
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
|
|
||||||
|
|
||||||
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
|
|
||||||
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.6
|
|
||||||
+ hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 hunspell)
|
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
|
|
||||||
# all listed variables are TRUE
|
|
Loading…
Reference in a new issue