summaryrefslogtreecommitdiff
path: root/cmake/FindSphinx.cmake
blob: 833bfd4dad53afef3cb4fef94428448f24798933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
find_program(SPHINX_EXECUTABLE NAMES sphinx-build
  HINTS
  $ENV{SPHINX_DIR}
  PATH_SUFFIXES bin
  DOC "Sphinx documentation generator"
)

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(Sphinx DEFAULT_MSG
  SPHINX_EXECUTABLE
)

mark_as_advanced(
  SPHINX_EXECUTABLE
)