[libcxx-commits] [PATCH] D96107: [NFC][libunbind] Fix Sphinx error during CMake invocation
Shivam Gupta via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 4 21:50:51 PST 2021
xgupta created this revision.
xgupta added reviewers: jroelofs, jyknight.
Herald added subscribers: libcxx-commits, mgorny.
Herald added a project: libunwind.
Herald added a reviewer: libunwind.
xgupta requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
An error has occurred when I build libunwind with -DLLVM_BUILD_DOCS=ON.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96107
Files:
libunwind/docs/CMakeLists.txt
Index: libunwind/docs/CMakeLists.txt
===================================================================
--- libunwind/docs/CMakeLists.txt
+++ libunwind/docs/CMakeLists.txt
@@ -1,5 +1,5 @@
include(FindSphinx)
-if (SPHINX_FOUND)
+if (SPHINX_FOUND AND LLVM_ENABLE_SPHINX)
include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html libunwind)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96107.321660.patch
Type: text/x-patch
Size: 368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210205/72f119f1/attachment.bin>
More information about the libcxx-commits
mailing list