CMake FindPythonInterp deprecated
Kornel Benko
kornel at lyx.org
Thu Nov 28 12:36:14 UTC 2019
Am Thu, 28 Nov 2019 13:08:53 +0100
schrieb pdv <pdvisschere at edpnet.be>:
> On 28/11/2019 10:43, Kornel Benko wrote:
> > Am Wed, 27 Nov 2019 22:25:16 +0100
> > schrieb pdv <pdvisschere at edpnet.be>:
> >
> >>> 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 overwritten.
> >
> > It was intended. Imagine following scenario:
> > 1.) A user has installed python2 and uses cmake to compile lyx
> > 2.) Any time later after installing python3, cmake would still use python2
> >
> > Kornel
> >
> >
> 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 ...
But one could see it differently.
> Patrick
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/20191128/f29115b3/attachment.asc>
More information about the lyx-devel
mailing list