mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Cmake build: Use correct include if using internal hunspell
This way also "HAVE_HUNSPELL_CXXABI" is correctly set to 1
This commit is contained in:
parent
8d26ae57ba
commit
b399cfc7a2
2
3rdparty/hunspell/CMakeLists.txt
vendored
2
3rdparty/hunspell/CMakeLists.txt
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user