mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Amend d7020ea
: Add the warn when using system hunspell in stdlib-debug mode also for cmake
This commit is contained in:
parent
d7020ea919
commit
bda9e38ade
@ -98,6 +98,9 @@ if(HUNSPELL_FOUND)
|
|||||||
|
|
||||||
message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}")
|
message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}")
|
||||||
#message(STATUS "LOG2 = ${LOG2}")
|
#message(STATUS "LOG2 = ${LOG2}")
|
||||||
|
if(LYX_EXTERNAL_HUNSPELL AND LYX_STDLIB_DEBUG AND HAVE_HUNSPELL_CXXABI)
|
||||||
|
message(WARNING "Compiling LyX with stdlib-debug and system hunspell libraries may lead to crashes. Consider using -DLYX_STDLIB_DEBUG=OFF or -DLYX_EXTERNAL_HUNSPELL=OFF.")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#check_cxx_source_compiles(
|
#check_cxx_source_compiles(
|
||||||
|
Loading…
Reference in New Issue
Block a user