summaryrefslogtreecommitdiff
path: root/libcxx/docs
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-05-09 11:18:03 +0000
committerTom Stellard <tstellar@redhat.com>2017-05-09 11:18:03 +0000
commit01702d7668047a7f25dd7561d75a698276671a7b (patch)
tree1e8207619716a1d32a35640f2046543dd0e2355d /libcxx/docs
parent10b05c82d467868ca98c783cb6bb60ed9130ab02 (diff)
docs: Fix Sphinx detection with out-of-tree builds
Adapt to changes made in r302499.
Diffstat (limited to 'libcxx/docs')
-rw-r--r--libcxx/docs/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/docs/CMakeLists.txt b/libcxx/docs/CMakeLists.txt
index f63ee00a5a0..d679761a5ad 100644
--- a/libcxx/docs/CMakeLists.txt
+++ b/libcxx/docs/CMakeLists.txt
@@ -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() \ No newline at end of file
+endif()