From 0316c01d2447b3d72da8895be9c44f0c342d148f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 2 Aug 2009 16:38:39 +0000 Subject: [PATCH] Win32 Hunspell Link fix by Kornel. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- 2.39.5