Cmake build: Amend b399cfc7

Re-allow also the previous include, so that it is now
possible to use
	#include <hunspell.hxx>
and also
	#include <hunspell/hunspell.hxx>
This commit is contained in:
Kornel Benko 2020-03-07 13:51:50 +01:00
parent 348a3be540
commit 7a02c02c18

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}/hunspell" CACHE STRING "Hunspell include dir" FORCE)
set(HUNSPELL_INCLUDE_DIR "${SRCDIR}/hunspell;${SRCDIR}" CACHE STRING "Hunspell include dirs" FORCE)
set(HUNSPELL_FOUND CACHE STRING "Hunspell found" FORCE)
set_target_properties(hunspell PROPERTIES