summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/AddSphinxTarget.cmake
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/cmake/modules/AddSphinxTarget.cmake
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/cmake/modules/AddSphinxTarget.cmake')
-rw-r--r--llvm/cmake/modules/AddSphinxTarget.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/cmake/modules/AddSphinxTarget.cmake b/llvm/cmake/modules/AddSphinxTarget.cmake
index c3a676d3063..cfc7f38e9e7 100644
--- a/llvm/cmake/modules/AddSphinxTarget.cmake
+++ b/llvm/cmake/modules/AddSphinxTarget.cmake
@@ -1,16 +1,3 @@
-
-# Create sphinx target
-if (LLVM_ENABLE_SPHINX AND NOT TARGET sphinx)
- message(STATUS "Sphinx enabled.")
- find_package(Sphinx REQUIRED)
- if (LLVM_BUILD_DOCS)
- add_custom_target(sphinx ALL)
- endif()
-else()
- message(STATUS "Sphinx disabled.")
-endif()
-
-
# Handy function for creating the different Sphinx targets.
#
# ``builder`` should be one of the supported builders used by
OpenPOWER on IntegriCloud