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

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: CMake FindPythonInterp deprecated

2019-11-28 Thread Kornel Benko
Am Thu, 28 Nov 2019 13:08:53 +0100 schrieb pdv : > On 28/11/2019 10:43, Kornel Benko wrote: > > Am Wed, 27 Nov 2019 22:25:16 +0100 > > schrieb pdv : > > > >>> BTW, I never saw any deprecated message ... only looking into > >>> FindPythonInterp.cmake > >>> there is a hint. > >>> > >>> Kornel

Re: CMake FindPythonInterp deprecated

2019-11-28 Thread pdv
On 28/11/2019 10:43, Kornel Benko wrote: Am Wed, 27 Nov 2019 22:25:16 +0100 schrieb pdv : BTW, I never saw any deprecated message ... only looking into FindPythonInterp.cmake there is a hint. Kornel I thought that a user might want to define LYX_PYTHON_EXECUTABLE and this will

Re: CMake FindPythonInterp deprecated

2019-11-28 Thread Kornel Benko
Am Wed, 27 Nov 2019 22:25:16 +0100 schrieb pdv : > > BTW, I never saw any deprecated message ... only looking into > > FindPythonInterp.cmake > > there is a hint. > > > > Kornel > > > > > I thought that a user might want to define LYX_PYTHON_EXECUTABLE and > this will now be

Re: CMake FindPythonInterp deprecated

2019-11-27 Thread pdv
On 27/11/2019 19:54, Kornel Benko wrote: Am Wed, 27 Nov 2019 18:09:44 +0100 schrieb pdv : find_package(PythonInterp ...) is deprecated since CMake 3.12. With the current master build on MacOS CMake returns `Python3_EXECUTABLE=Python3.5` although Python3.7 is selected with macports. Using the

Re: CMake FindPythonInterp deprecated

2019-11-27 Thread Kornel Benko
Am Wed, 27 Nov 2019 18:09:44 +0100 schrieb pdv : > find_package(PythonInterp ...) is deprecated since CMake 3.12. > > With the current master build on MacOS CMake returns > `Python3_EXECUTABLE=Python3.5` although Python3.7 is selected with macports. > > Using the recommended

CMake FindPythonInterp deprecated

2019-11-27 Thread pdv
find_package(PythonInterp ...) is deprecated since CMake 3.12. With the current master build on MacOS CMake returns `Python3_EXECUTABLE=Python3.5` although Python3.7 is selected with macports. Using the recommended find_package(Python3 ...) CMake returns `Python3_EXECUTABLE=Python3.7`.