CMake install (of LyX) on MacOS

2019-11-29 Thread pdv
I wonder if someone uses CMake on MacOS to make a LyX application bundle. One has at least to switch `LYX_INSTALL` ON but it did not work right away for me. Basically all icons were missing. With some changes I could get it to work (patch included). One will also have to define the locations o

Re: CMake FindPythonInterp deprecated

2019-11-29 Thread pdv
On 29/11/2019 15:22, Kornel Benko wrote: Am Fri, 29 Nov 2019 14:39:23 +0100 schrieb pdv : On 28/11/2019 13:36, Kornel Benko wrote: Yes I see. At 2) one could drop the LYX_PYTHON_EXECUTABLE. Are the LYX_ variables not supposed to be set by the developer/user? Good point. LYX_ prefix is used o

Re: CMake FindPythonInterp deprecated

2019-11-29 Thread Kornel Benko
Am Fri, 29 Nov 2019 14:39:23 +0100 schrieb pdv : > On 28/11/2019 13:36, Kornel Benko wrote: > >> Yes I see. At 2) one could drop the LYX_PYTHON_EXECUTABLE. > >> Are the LYX_ variables not supposed to be set by the developer/user? > > > > Good point. LYX_ prefix is used only to distinguish with

Re: CMake FindPythonInterp deprecated

2019-11-29 Thread pdv
On 28/11/2019 13:36, Kornel Benko wrote: Yes I see. At 2) one could drop the LYX_PYTHON_EXECUTABLE. Are the LYX_ variables not supposed to be set by the developer/user? Good point. LYX_ prefix is used only to distinguish with any other variables used in e.g. underlying projects like 3rdparty ..

Re: Check for hunspell.hxx always fails

2019-11-29 Thread Kornel Benko
Am Fri, 29 Nov 2019 13:04:48 +0100 schrieb pdv : > > 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

Re: Check for hunspell.hxx always fails

2019-11-29 Thread pdv
On 28/11/2019 14:22, Kornel Benko wrote: Am Thu, 28 Nov 2019 13:38:26 +0100 schrieb pdv : Right now the check for the presence of hunspell.hxx in ConfigureChecks.cmake always fails for me (MacOS10.14, master build) with the result `HAVE_HUNSPELL_CXXABI = FALSE`, although hunspell.hxx is availab