]> git.lyx.org Git - features.git/commitdiff
Win32 Hunspell Link fix by Kornel.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 2 Aug 2009 16:38:39 +0000 (16:38 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 2 Aug 2009 16:38:39 +0000 (16:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30831 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/CMakeLists.txt

index e53b4d33a30bb2283fece9d10d50e4cb4818a206..47973c66a5048ce6d33ba667db987ed3c518713b 100644 (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()