Fix cmake Sphinx detection for versions >1.6.4
commit1107c6084fcfed0632c0275b1a51e685ceb5ef75
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 28 Mar 2018 11:33:02 +0000 (28 13:33 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 29 Mar 2018 11:51:02 +0000 (29 13:51 +0200)
tree161ad52d704187e25b2556cb5e0a71bc9e2cebc3
parent721dd0a9afeac1d411655b874b291fee8bd7648c
Fix cmake Sphinx detection for versions >1.6.4

The output from sphinx-build --version changed between version 1.6.4 and
1.7.x, leading to the cmake detection script to fail and reporting no
version at all. This fixes detection for both before and after the
change to the output format.

Change-Id: I34e50067f52f8127d137db28e9411420559d44cf
cmake/FindSphinx.cmake