Odd value for PYTHONLIBS_VERSION_STRING
Hi there.
I'm on debian buster, using cmake 3.9.5. I have libPython2.7-dev installed.
In a project (paraview common superbuild, here : https://gitlab.kitware.com/paraview/common-superbuild/blob/master/projects/python.system.cmake ) there's
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonInterp 2.7 REQUIRED)
Then a sanity check ensure that PYTHON_VERSION_STRING is equal to PYTHONLIBS_VERSION_STRING. But here it is not the case:
PYTHON_VERSION_STRING=2.7.14
and PYTHONLIBS_VERSION_STRING=2.7.14+
The +
come from patchlevel.h provided by my python package.
Is the problem in the cmake find package or should I modify my check ?