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

2020-11-14 Thread pdv
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

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

2020-11-13 Thread Kornel Benko
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

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

2020-11-13 Thread 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 ConfigureChecks.cmake was never > executed and HAVE_DEF_MAKE_UNIQUE

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

2020-11-13 Thread 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 was never set. In the end I started from scratch and then

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

2020-11-12 Thread pdv
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: