aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-04-11 21:46:34 +0100
committerAlex Merry <alex.merry@kde.org>2014-04-11 21:46:34 +0100
commitfda1eaca7c2e86c7df2771486b19bd629a36421a (patch)
treef13c29607113fddafc60b91109feef28c2db55fd /docs
parentc20d22c951e61a06701f6c2201add7c11915e7c5 (diff)
downloadextra-cmake-modules-fda1eaca7c2e86c7df2771486b19bd629a36421a.tar.gz
extra-cmake-modules-fda1eaca7c2e86c7df2771486b19bd629a36421a.tar.bz2
Be more verbose about searching for Sphinx
Diffstat (limited to 'docs')
-rw-r--r--docs/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index ff04e7de..f17400f8 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -13,16 +13,19 @@
# Distros sometimes rename Python executables to allow for parallel
# installation of Python2 and Python3 versions
+message(STATUS "Looking for Sphinx Documentation Builder...")
find_program(SPHINX_EXECUTABLE
NAMES
sphinx-build
sphinx-build2
sphinx-build3
- DOC "Sphinx Documentation Builder (sphinx-doc.org)"
+ DOC "Sphinx Documentation Builder (http://sphinx-doc.org/)"
)
if(SPHINX_EXECUTABLE)
+ message(STATUS "Sphinx Documentation Builder found at ${SPHINX_EXECUTABLE} - building documentation")
set(build_docs_default ON)
else()
+ message(STATUS "Sphinx Documentation Builder not found - documentation will not be built (see http://sphinx-doc.org/)")
set(build_docs_default OFF)
endif()