[PATCH] D31687: CMake: Fix sphinx build with standalone clang
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 10:30:05 PDT 2017
tstellar updated this revision to Diff 94390.
tstellar added a comment.
Move most logic into AddSphinxTarget.cmake in the llvm tree.
https://reviews.llvm.org/D31687
Files:
docs/CMakeLists.txt
Index: docs/CMakeLists.txt
===================================================================
--- docs/CMakeLists.txt
+++ docs/CMakeLists.txt
@@ -91,8 +91,8 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31687.94390.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170406/6fe578ba/attachment.bin>
More information about the llvm-commits
mailing list