From: Abdelrazak Younes Date: Sun, 2 Aug 2009 16:38:39 +0000 (+0000) Subject: Win32 Hunspell Link fix by Kornel. X-Git-Tag: 2.0.0~5867 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0316c01d2447b3d72da8895be9c44f0c342d148f;p=features.git Win32 Hunspell Link fix by Kornel. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index e53b4d33a3..47973c66a5 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -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()