Am Sat, 7 Mar 2020 13:17:13 +0100 schrieb Yu Jin <technikma...@gmail.com>:
> Am Sa., 7. März 2020 um 13:11 Uhr schrieb Kornel Benko <kor...@lyx.org>: > > > Do you compile master source? > > > Not sure what you want to know, I am trying to compile the current master > branch (https://www.lyx.org/trac/browser/lyxgit). > > Eugene That was the question. We have to find something which is OK for windows _and_ for linux. I bet, you use included hunspell ... Try the attached Kornel
diff --git a/3rdparty/hunspell/CMakeLists.txt b/3rdparty/hunspell/CMakeLists.txt index c69093848f..663f5ad3b3 100644 --- a/3rdparty/hunspell/CMakeLists.txt +++ b/3rdparty/hunspell/CMakeLists.txt @@ -56,11 +56,11 @@ set(HEADERS 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 FOLDER "3rd_party" INTERPROCEDURAL_OPTIMIZATION ${LYX_IPO_SUPPORTED})
pgp1bPXkaVne6.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel