]> git.lyx.org Git - features.git/commitdiff
Cmake build: Amend b399cfc7
authorKornel Benko <kornel@lyx.org>
Sat, 7 Mar 2020 12:51:50 +0000 (13:51 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:53 +0000 (15:48 +0200)
Re-allow also the previous include, so that it is now
possible to use
#include <hunspell.hxx>
and also
#include <hunspell/hunspell.hxx>

3rdparty/hunspell/CMakeLists.txt

index c69093848f65285dbed4c6538b930985eb5d66e0..663f5ad3b374a7b134ef8b35f49dd1ddd42d49d1 100644 (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