commit bda9e38adec1b3d72bca1f069702d3089706ff42 Author: Kornel Benko <kor...@lyx.org> Date: Mon Apr 9 17:13:52 2018 +0200
Amend d7020ea: Add the warn when using system hunspell in stdlib-debug mode also for cmake --- development/cmake/ConfigureChecks.cmake | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/development/cmake/ConfigureChecks.cmake b/development/cmake/ConfigureChecks.cmake index 8c7beb4..0451f2f 100644 --- a/development/cmake/ConfigureChecks.cmake +++ b/development/cmake/ConfigureChecks.cmake @@ -98,6 +98,9 @@ if(HUNSPELL_FOUND) message(STATUS "HAVE_HUNSPELL_CXXABI = ${HAVE_HUNSPELL_CXXABI}") #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() #check_cxx_source_compiles(