llvm.org GIT mirror llvm / af79e41
CMake: Fix docs-llvm-man target when clang+llvm is in the same source tree Summary: This was broken by r302499. Configuring with -DLLVM_BUILD_DOCS=ON would cause the docs-llvm-man target not to be created. Reviewers: anemet, beanz Reviewed By: anemet Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D33146 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303042 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 2 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0
11 # Create sphinx target
2 if (LLVM_ENABLE_SPHINX AND NOT TARGET sphinx)
2 if (LLVM_ENABLE_SPHINX)
33 message(STATUS "Sphinx enabled.")
44 find_package(Sphinx REQUIRED)
5 if (LLVM_BUILD_DOCS)
5 if (LLVM_BUILD_DOCS AND NOT TARGET sphinx)
66 add_custom_target(sphinx ALL)
77 endif()
88 else()