CMake FindPythonInterp deprecated
pdv
pdvisschere at edpnet.be
Thu Nov 28 12:08:53 UTC 2019
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?
Patrick
More information about the lyx-devel
mailing list