]> git.lyx.org Git - features.git/commitdiff
Find hunspell on 64-bit OpenSuSE 11 too
authorKornel Benko <kornel@lyx.org>
Tue, 16 Mar 2010 07:37:22 +0000 (07:37 +0000)
committerKornel Benko <kornel@lyx.org>
Tue, 16 Mar 2010 07:37:22 +0000 (07:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33760 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/CMakeLists.txt

index ccf25da503abda64cbb037a79bf8db7e2d383b6b..b55d9f2e752ab018aeb4ace9ffa821eb8be97a82 100644 (file)
@@ -208,7 +208,7 @@ if(WIN32)
   find_library(HUNSPELL_LIBRARY "libhunspell")
 else()
   #find_library(HUNSPELL_LIBRARY NAME "hunspell" PATH "/usr/local/lib" "/usr/lib" NO_DEFAULT_PATH)
-  find_library(HUNSPELL_LIBRARY "hunspell" "/usr/local/lib" "/usr/lib")
+  find_library(HUNSPELL_LIBRARY NAMES "hunspell" "hunspell-1.2" PATHS "/usr/local/lib" "/usr/lib" "/usr/lib64")
 endif()
 if (HUNSPELL_LIBRARY)
   find_file(HUNSPELL_FOUND "hunspell/hunspell.hxx")