Am Freitag, 30. März 2018 21:19:43 CEST schrieb Kornel Benko <kor...@lyx.org>: > Am Freitag, 30. März 2018 20:07:38 CEST schrieb José Abílio Matos > > <jama...@lyx.org>: > > 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. :-) > > But that has nothing to do with cmake. My 2 cents. >
And we should distinguish usage of python at configure and build time, from the use at lyx-run-time. Kornel
signature.asc
Description: This is a digitally signed message part.