]> git.lyx.org Git - features.git/commitdiff
Cmake build: Use correct include if using internal hunspell
authorKornel Benko <kornel@lyx.org>
Fri, 28 Feb 2020 20:48:54 +0000 (21:48 +0100)
committerKornel Benko <kornel@lyx.org>
Fri, 28 Feb 2020 20:48:54 +0000 (21:48 +0100)
This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1

3rdparty/hunspell/CMakeLists.txt

index 90dae464f9498ad9f8fb798104fd095c78a7699f..c69093848f65285dbed4c6538b930985eb5d66e0 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} 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