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 rename config.C.cmake to config.cpp.cmake 2007-10-07 11:10:45 +00:00
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 Remove boost/format support 2016-05-29 17:55:45 -04:00
configFunctions.cmake Fix typo in configFunctions.h (wrong define for the header) 2014-03-13 08:28:06 +01:00
configIncludes.cmake Cmake build: Creating a define for a header file found 2013-02-12 19:01:16 +01:00
ConfigureChecks.cmake CMake: in Hunspell ABI check only link if external 2021-01-20 09:39:03 +01:00
dmg cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs 2011-05-15 13:21:18 +00:00
Install.cmake Cmake build: Install missed script listerrors 2020-10-03 14:06:24 +02:00
lyx_commit_hash.h.cmake Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake. 2014-10-24 16:58:54 +02:00
lyx_date.h.cmake Cmake build: 2012-11-01 13:00:19 +01:00
LyX_description.txt Cmake build: Add trailing '.' 2020-06-10 17:11:36 +02:00
LyX_license.txt CMake install and bundling improvements (esp. OS X) 2014-04-21 11:51:04 -04:00
LyX_summary.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
lyx.rc cmake: add icon on Windows 2010-06-30 08:35:52 +00:00
LyxPackaging.cmake CMake deb: support "python2 | python3" dependency 2020-10-20 13:04:41 -04:00
mingw.bat Require a C++11 compiler 2016-06-07 20:34:52 +02:00
pcheaders.h Replace Boost.Signals with Boost.Signals2 2016-06-09 22:25:34 +02:00
PyCompile.cmake Make installed python scripts executable (as in autotools) 2011-05-08 07:28:19 +00:00
TODO.txt Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00