macos-xcode-cmake build fails with --std=c++17 SOLVED

Kornel Benko kornel at lyx.org
Fri Nov 13 16:04:18 UTC 2020


Am Fri, 13 Nov 2020 15:27:36 +0100
schrieb pdv <pdvisschere at edpnet.be>:

> I suppose HAVE_DEF_MAKE_UNIQUE should have been set to one but it wasn't.
> Removing HAVE_DEF_MAKE_UNIQUE from cmake's cache didn't help.
> The check_cxx_source_compiles() in ConfigureChecks.cmake was never 
> executed and HAVE_DEF_MAKE_UNIQUE was never set.
> 
> In the end I started from scratch and then the check ran and 
> HAVE_DEF_MAKE_UNIQUE=1.
> 
> P. De Visschere

You should remove CMakeCache.txt, so that cmake is forced to recheck everything.

It can also be that while checking, some other header files are used than at compile time.
Possible are also different compiler settings.

	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/20201113/98e0e8d2/attachment.asc>


More information about the lyx-devel mailing list