On 13/11/2020 17:14, Kornel Benko wrote:
Am Fri, 13 Nov 2020 17:04:18 +0100
schrieb Kornel Benko :
Am Fri, 13 Nov 2020 15:27:36 +0100
schrieb pdv :
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
Am Fri, 13 Nov 2020 17:04:18 +0100
schrieb Kornel Benko :
> Am Fri, 13 Nov 2020 15:27:36 +0100
> schrieb pdv :
>
> > 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
Am Fri, 13 Nov 2020 15:27:36 +0100
schrieb pdv :
> 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
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
Since commit 2ec243 (28/10) cmake builds defaults apparently to --std=c++17.
Building with Xcode (11.3) on macos (10.14.6) then fails with message
"call to 'make_unique' is ambiguous"
make_unique() is in lyx/.../support/unique_ptr.h and in Xcode.app/.../memory
This is the full error message: