On Friday, 30 March 2018 19.59.13 WEST Kornel Benko wrote:
> No, I think you are wrong.
> CmakeLists.txt:760
> starts with
> find_package(PythonInterp 3.3 QUIET)
> If python3 is found, it is used as ${LYX_PYTHON_EXECUTABLE} from then on.
I was referring to src/support/os.cpp function python:
string const python(bool reset)
{
// Check whether the first python in PATH is the right one.
static string command = python23("python -tt");
// FIXME THREAD
if (reset) {
command = python23("python -tt");
}
...
This function always tests for python...
I admit that I can be wrong though. :-)
--
José Abílio