diff options
| author | Alex Merry <alex.merry@kde.org> | 2014-04-11 21:46:34 +0100 | 
|---|---|---|
| committer | Alex Merry <alex.merry@kde.org> | 2014-04-11 21:46:34 +0100 | 
| commit | fda1eaca7c2e86c7df2771486b19bd629a36421a (patch) | |
| tree | f13c29607113fddafc60b91109feef28c2db55fd | |
| parent | c20d22c951e61a06701f6c2201add7c11915e7c5 (diff) | |
| download | extra-cmake-modules-fda1eaca7c2e86c7df2771486b19bd629a36421a.tar.gz extra-cmake-modules-fda1eaca7c2e86c7df2771486b19bd629a36421a.tar.bz2  | |
Be more verbose about searching for Sphinx
| -rw-r--r-- | docs/CMakeLists.txt | 5 | 
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()  | 
