1 | initial version |
Modify as if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)") and it would work perfectly
2 | proper explanation |
Modify as After installing sphinx, open cmake/OpenCVDetectPython.cmake and replace line
if(SPHINX_OUTPUT MATCHES "^Sphinx v([0-9][^ \n])")
With
if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)") \n])") and it would work perfectly