Win32 Hunspell Link fix by Kornel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-08-02 16:38:39 +00:00
parent 0b23fcce1e
commit 0316c01d24

View File

@ -194,7 +194,11 @@ if(use_external_libintl)
add_definitions(-DHAVE_GETTEXT)
endif()
find_library(HUNSPELL_LIBRARY "hunspell")
if(WIN32)
find_library(HUNSPELL_LIBRARY "libhunspell")
else()
find_library(HUNSPELL_LIBRARY "hunspell")
endif()
if (HUNSPELL_LIBRARY)
find_file(HUNSPELL_FOUND "hunspell/hunspell.hxx")
endif()