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

Adapt to changes made in r302499.

llvm-svn: 302501
This commit is contained in:
Tom Stellard 2017-05-09 01:43:22 +00:00
parent 9c52dfebfe
commit 9cd629a251

View File

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