>> I thought using FindPythonInterp would be more portable than
>> simply invoking "python" directly (i.e. using $PYTHON_EXECUTABLE).
> In case you want the newest version of any Python major, as in your
> case, try
> find_package(PythonInterp 2 REQUIRED). But you are right, this would
> also succ
Roger Leigh wrote:
> I thought using FindPythonInterp would be more portable than
> simply invoking "python" directly (i.e. using $PYTHON_EXECUTABLE).
> However, this does not appear to be the case. I'd be interested to
> know if this is intentional or if I'm doing something wrong.
>
> I've tried
I thought using FindPythonInterp would be more portable than
simply invoking "python" directly (i.e. using $PYTHON_EXECUTABLE).
However, this does not appear to be the case. I'd be interested to
know if this is intentional or if I'm doing something wrong.
I've tried using "find_package(PythonInte