Ask Your Question

Revision history [back]

Modify as if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)") and it would work perfectly

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