From 5a741dd8a6bcb97151c8ba4bc74118ecb019929b Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 9 May 2017 11:18:03 +0000 Subject: [PATCH] docs: Fix Sphinx detection with out-of-tree builds Adapt to changes made in r302499. llvm-svn: 302517 --- libcxx/docs/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.7.4