From fda1eaca7c2e86c7df2771486b19bd629a36421a Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Fri, 11 Apr 2014 21:46:34 +0100 Subject: Be more verbose about searching for Sphinx --- docs/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit v1.2.1