From: Tom Stellard Date: Tue, 9 May 2017 11:18:03 +0000 (+0000) Subject: docs: Fix Sphinx detection with out-of-tree builds X-Git-Tag: llvmorg-5.0.0-rc1~5613 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a741dd8a6bcb97151c8ba4bc74118ecb019929b;p=platform%2Fupstream%2Fllvm.git docs: Fix Sphinx detection with out-of-tree builds Adapt to changes made in r302499. llvm-svn: 302517 --- diff --git a/libcxx/docs/CMakeLists.txt b/libcxx/docs/CMakeLists.txt index f63ee00..d679761 100644 --- a/libcxx/docs/CMakeLists.txt +++ b/libcxx/docs/CMakeLists.txt @@ -1,9 +1,9 @@ if (LLVM_ENABLE_SPHINX) + include(AddSphinxTarget) if (SPHINX_FOUND) - include(AddSphinxTarget) if (${SPHINX_OUTPUT_HTML}) add_sphinx_target(html libcxx) endif() endif() -endif() \ No newline at end of file +endif()