
if (LLVM_ENABLE_SPHINX)
  if (SPHINX_FOUND)
    include(AddSphinxTarget)
    if (${SPHINX_OUTPUT_HTML})
      add_sphinx_target(html libcxx)
    endif()
  endif()
endif()

if (LLVM_ENABLE_SPHINX)
  include(AddSphinxTarget)
  if (SPHINX_FOUND)
    if (${SPHINX_OUTPUT_HTML})
      add_sphinx_target(html libcxx)
    endif()
  endif()
endif()

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

Adapt to changes made in r302499.

git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@302517 91177308-0d34-0410-b5e6-96231b3b80d8
