Check for hunspell.hxx always fails
Kornel Benko
kornel at lyx.org
Fri Nov 29 12:55:52 UTC 2019
Am Fri, 29 Nov 2019 13:04:48 +0100
schrieb pdv <pdvisschere at edpnet.be>:
> > The try_compile() normally creates an executable (e.g. compile + link)
> > and we want to compile only here.
>
> I thought so (and I suppose libhunspell is then also not needed by LyX,
> which I did not realize), but that doesn't work for me; without the
> LINK_LIBRARIES the build fails:
>
> Undefined symbols for architecture x86_64:
> "Hunspell::stem(std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > const&)",
> referenced from:
> _main in hunspelltest.o
> "Hunspell::Hunspell(char const*, char const*, char const*)",
> referenced from:
> _main in hunspelltest.o.
> "Hunspell::~Hunspell()", referenced from:
> _main in hunspelltest.o
> ld: symbol(s) not found for architecture x86_64
>
> It has been reported that this trick does not work with XCode:
> https://cmake.org/pipermail/cmake/2010-May/037132.html
>
I see. Committed at 350a9daf
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20191129/11c1a0e6/attachment.asc>
More information about the lyx-devel
mailing list