summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-05-09 01:42:33 +0000
committerTom Stellard <tstellar@redhat.com>2017-05-09 01:42:33 +0000
commit9d17579a4fa653627bfafa77621c3a89867da97d (patch)
tree223fe8724937d2c71bd565f45d4f2b1036476ab7 /docs
parent7f0162dff041f0277a6ef0ab38842ad93731f4fc (diff)
docs: Fix Sphinx detection with out-of-tree builds
Adapt to changes made in r302499. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 13b79fdfa5..d2956c18f8 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -91,8 +91,8 @@ endif()
endif()
if (LLVM_ENABLE_SPHINX)
+ include(AddSphinxTarget)
if (SPHINX_FOUND)
- include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html clang)
add_custom_command(TARGET docs-clang-html POST_BUILD