FindSphinx.cmake 460 B

1234567891011121314151617181920
  1. # (c) 2014 Copyright ownCloud GmbH
  2. # Redistribution and use is allowed according to the terms of the BSD license.
  3. # For details see the accompanying COPYING* file.
  4. find_program(SPHINX_EXECUTABLE NAMES sphinx-build
  5. HINTS
  6. $ENV{SPHINX_DIR}
  7. PATH_SUFFIXES bin
  8. DOC "Sphinx documentation generator"
  9. )
  10. include(FindPackageHandleStandardArgs)
  11. find_package_handle_standard_args(Sphinx DEFAULT_MSG
  12. SPHINX_EXECUTABLE
  13. )
  14. mark_as_advanced(
  15. SPHINX_EXECUTABLE
  16. )