CMake: Define USE_HUNSPELL in case the library is found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30832 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-08-02 16:45:33 +00:00
parent 0316c01d24
commit aafa4532d4

View File

@ -204,7 +204,8 @@ if (HUNSPELL_LIBRARY)
endif()
if (HUNSPELL_FOUND)
message(STATUS "----- Building with Hunspell")
add_definitions(-DUSE_HUNSPELL=1)
message(STATUS "----- Building with USE_HUNSPELL")
else()
message(STATUS "----- Hunspell not found, building without hunspell support")
endif()