docs: Fix Sphinx detection with out-of-tree builds

Adapt to changes made in r302499.

llvm-svn: 302517
This commit is contained in:
Tom Stellard 2017-05-09 11:18:03 +00:00
parent dd50e9fb15
commit 5a741dd8a6

View File

@ -1,9 +1,9 @@
if (LLVM_ENABLE_SPHINX)
include(AddSphinxTarget)
if (SPHINX_FOUND)
include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html libcxx)
endif()
endif()
endif()
endif()