[LyX/master] Cmake build: Amend b399cfc7

Kornel Benko kornel at lyx.org
Sat Mar 7 12:35:48 UTC 2020


commit 7a02c02c18ba86b70f739f6ff204ccf7255cd3b3
Author: Kornel Benko <kornel at lyx.org>
Date:   Sat Mar 7 13:51:50 2020 +0100

    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>
---
 3rdparty/hunspell/CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/3rdparty/hunspell/CMakeLists.txt b/3rdparty/hunspell/CMakeLists.txt
index c690938..663f5ad 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}/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


More information about the lyx-cvs mailing list