> > > > The Python_EXECUTABLE is workaround that can be applied to a spec file. > > OK, that is clear. If PYTHON_EXECUTABLE no longer works that is a well > understandable issue. > > Something like this maybe? > > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -216,6 +216,9 @@ endif() > > # Use Python modules based on CMake version for backward compatibility > set(CYTHON_EXECUTABLE "") > +if (${PYTHON_EXCUTABLE}) > + set(Python_EXECUTABLE ${PYTHON_EXCUTABLE}) > +endif() > if (${CMAKE_VERSION} VERSION_LESS "3.12") > # Look for Python. We prefer some variant of python 3 if the system has it > FIND_PACKAGE(PythonInterp 3 QUIET) > > Jason Ok. I will give that a try. Mike