CMake FindPythonInterp deprecated

Kornel Benko kornel at lyx.org
Thu Nov 28 09:43:00 UTC 2019


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
-------------- 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/38bf4d21/attachment.asc>


More information about the lyx-devel mailing list