darling-libcxx/docs/CMakeLists.txt
Tom Stellard 867ae29929 docs: Fix Sphinx detection with out-of-tree builds
Adapt to changes made in r302499.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302517 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-09 11:18:03 +00:00

10 lines
170 B
CMake

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