lyx_mirror/development/cmake
Kornel Benko 53084dbfd8 CMake: in Hunspell ABI check only link if external
(Thanks Scott for the patch and comment)

For the HAVE_HUNSPELL_CXXABI check, only test a (real) link command
if an external libhunspell is used or if macOS is used (see
350a9daf). If the bundled libhunspell is used, it has not been built
yet at the point of the initial cmake command.

This commit fixes an issue when the bundled Hunspell is desired.
Before, the test command would still attempt to link to the system
hunspell library. Even if the system library is available, there
could be problems if there is a mismatch of the CXX ABI. And
finally, even if the system library is available and there is no
mismatch, compiling the test file with Clang and -stdlib=libc++
seems to cause a failure when linking with the system Hunspell
library.
2021-01-20 09:39:03 +01:00
..
doc Move all python shebangs from /usr/bin/env to python3. 2018-12-29 19:14:41 +00:00
man Cmake build: All directory variables should contain trailing '/' 2020-04-14 13:01:17 +02:00
modules Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro 2020-12-29 20:27:19 +01:00
po cat.py: fix Python deprecation warning 2020-03-20 10:22:47 -04:00
post_install Cmake build: Correct configuration if set LYX_BUNDLE=ON 2019-11-30 11:19:10 +01:00
scripts Amend 2d48072e: Get rid of Qt resources 2020-06-07 12:07:58 +02:00
build5-2015-installer.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2015-x64.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2015.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2017-installer.bat build5-2017.bat: add new script to compile using MSVC 2017 2019-10-20 23:11:17 +02:00
build5-2017.bat build5-2017.bat: add new script to compile using MSVC 2017 2019-10-20 23:11:17 +02:00
config.cpp.cmake
config.h.cmake Always use std::regex 2020-11-27 12:39:59 +02:00
configCompiler.h.cmake Revert "Amend 3093789e for cmake build" 2020-11-30 10:19:22 +01:00
configCompiler.h.msvc
configFunctions.cmake
configIncludes.cmake
ConfigureChecks.cmake CMake: in Hunspell ABI check only link if external 2021-01-20 09:39:03 +01:00
dmg
Install.cmake Cmake build: Install missed script listerrors 2020-10-03 14:06:24 +02:00
lyx_commit_hash.h.cmake
lyx_date.h.cmake
LyX_description.txt Cmake build: Add trailing '.' 2020-06-10 17:11:36 +02:00
LyX_license.txt
LyX_summary.txt
lyx.rc
LyxPackaging.cmake CMake deb: support "python2 | python3" dependency 2020-10-20 13:04:41 -04:00
mingw.bat
pcheaders.h
PyCompile.cmake
TODO.txt Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00