mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Added hunspell library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30826 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c53d9099c1
commit
d74fffa363
@ -194,7 +194,10 @@ if(use_external_libintl)
|
||||
add_definitions(-DHAVE_GETTEXT)
|
||||
endif()
|
||||
|
||||
find_library(HUNSPELL_LIBRARY "hunspell")
|
||||
if (HUNSPELL_LIBRARY)
|
||||
find_file(HUNSPELL_FOUND "hunspell/hunspell.hxx")
|
||||
endif()
|
||||
|
||||
if (HUNSPELL_FOUND)
|
||||
message(STATUS "----- Building with Hunspell")
|
||||
|
@ -81,6 +81,9 @@ target_link_libraries(${_lyx}
|
||||
${QT_QTMAIN_LIBRARY}
|
||||
${vld_dll})
|
||||
|
||||
if (HUNSPELL_FOUND)
|
||||
target_link_libraries(${_lyx} ${HUNSPELL_LIBRARY})
|
||||
endif()
|
||||
if (ASPELL_FOUND)
|
||||
target_link_libraries(${_lyx} ${ASPELL_LIBRARY})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user