From: Kornel Benko Date: Fri, 28 Feb 2020 20:48:54 +0000 (+0100) Subject: Cmake build: Use correct include if using internal hunspell X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f450251b889de144ad695e9509d98c49deaf527e;p=features.git Cmake build: Use correct include if using internal hunspell This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1 --- 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