[PATCH] D31687: CMake: Fix sphinx build with standalone clang
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 17:26:04 PDT 2017
tstellar updated this revision to Diff 94145.
tstellar added a comment.
Remove redundant find_package(Sphinx)
https://reviews.llvm.org/D31687
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -171,6 +171,16 @@
endif()
endif()
+ if (LLVM_ENABLE_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()
+
set( CLANG_BUILT_STANDALONE 1 )
set(BACKEND_PACKAGE_STRING "LLVM ${LLVM_PACKAGE_VERSION}")
else()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31687.94145.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170405/cd019a40/attachment.bin>
More information about the llvm-commits
mailing list