aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2011-06-22 22:23:40 +0200
committerDavid Faure <faure@kde.org>2011-06-22 22:23:40 +0200
commitc06badd8d431583071cad638fea082ca0776a0a3 (patch)
tree292a0fb7c587dc0fb0572e3104f3c6819cd0e311
parentb55e7edb2781f8ec7bf179431e0bb7df860db024 (diff)
downloadextra-cmake-modules-c06badd8d431583071cad638fea082ca0776a0a3.tar.gz
extra-cmake-modules-c06badd8d431583071cad638fea082ca0776a0a3.tar.bz2
Apply patch by Tomáš Chvátal to fix hunspell-1.3 detection
...when hunspell-1.2 is installed too. REVIEW: 101484
-rw-r--r--modules/FindHUNSPELL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindHUNSPELL.cmake b/modules/FindHUNSPELL.cmake
index 9ed944ff..26942b56 100644
--- a/modules/FindHUNSPELL.cmake
+++ b/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.2 hunspell-1.3)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
# all listed variables are TRUE