Update OpenCVDetectPython.cmake
authorAlexander Shishkov <shishkov.alexander@gmail.com>
Fri, 2 Aug 2013 20:17:40 +0000 (00:17 +0400)
committerAlexander Shishkov <shishkov.alexander@gmail.com>
Fri, 2 Aug 2013 20:17:40 +0000 (00:17 +0400)
commitafd7429cbd08f7857e75ef7a141fba349076617a
tree0a69754a9587684c63292cb60062944eb566b4fb
parentee8687ba191bfe7e6f2fa65c5d7e32ed839820d4
Update OpenCVDetectPython.cmake

On my MacOS the output of the sphinx-build binary is the following:

Error: Insufficient arguments.

Sphinx v1.2b1
Usage: /usr/local/bin/sphinx-build [options] sourcedir outdir [filenames...]

...

I have installed sphinx, but without this change HAVE_SPHINX==0 for me, so I can't build docs.
cmake/OpenCVDetectPython.cmake