summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CMakeLists.txt
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-05-03 17:22:23 +0000
committerTom Stellard <tstellar@redhat.com>2017-05-03 17:22:23 +0000
commit21ebbf74ac9911339e4a8c40753c2e00603c769f (patch)
tree0830a0dd0c8ea197b0aecee3abdb727f92baa079 /llvm/docs/CMakeLists.txt
parentcf468d86f33003e7591848a2d8f404f402b52005 (diff)
downloadbcm5719-llvm-21ebbf74ac9911339e4a8c40753c2e00603c769f.tar.gz
bcm5719-llvm-21ebbf74ac9911339e4a8c40753c2e00603c769f.zip
Revert "CMake: Move sphinx detection into AddSphinxTarget.cmake"
This reverts commit r302025. clang and lld need to be updated too so they don't break with this patch. llvm-svn: 302054
Diffstat (limited to 'llvm/docs/CMakeLists.txt')
-rw-r--r--llvm/docs/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CMakeLists.txt b/llvm/docs/CMakeLists.txt
index 4437610146c..6dff219ae37 100644
--- a/llvm/docs/CMakeLists.txt
+++ b/llvm/docs/CMakeLists.txt
@@ -103,8 +103,8 @@ endif()
endif()
if (LLVM_ENABLE_SPHINX)
- include(AddSphinxTarget)
if (SPHINX_FOUND)
+ include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html llvm)
endif()
OpenPOWER on IntegriCloud