Cmake build: Use correct include if using internal hunspell

This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1
This commit is contained in:
Kornel Benko 2020-02-28 21:48:54 +01:00
parent 8d26ae57ba
commit b399cfc7a2

View File

@ -58,7 +58,7 @@ add_definitions(-DHUNSPELL_STATIC)
add_library(hunspell STATIC ${HEADERS} ${SRCS} ${HUNCONFIG})
set(HUNSPELL_LIBRARY hunspell CACHE STRING "Hunspell library" FORCE)
set(HUNSPELL_INCLUDE_DIR ${SRCDIR} CACHE STRING "Hunspell include dir" FORCE)
set(HUNSPELL_INCLUDE_DIR "${SRCDIR}/hunspell" CACHE STRING "Hunspell include dir" FORCE)
set(HUNSPELL_FOUND CACHE STRING "Hunspell found" FORCE)
set_target_properties(hunspell PROPERTIES