From f450251b889de144ad695e9509d98c49deaf527e Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Fri, 28 Feb 2020 21:48:54 +0100 Subject: [PATCH] Cmake build: Use correct include if using internal hunspell This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1 --- 3rdparty/hunspell/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/hunspell/CMakeLists.txt b/3rdparty/hunspell/CMakeLists.txt index 90dae464f9..c69093848f 100644 --- a/3rdparty/hunspell/CMakeLists.txt +++ b/3rdparty/hunspell/CMakeLists.txt @@ -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 -- 2.39.5