FindSphinx.cmake 321 Bytes
Newer Older
1
find_program(SPHINX_EXECUTABLE NAMES sphinx-build
2
3
4
5
        HINTS
        $ENV{SPHINX_DIR}
        PATH_SUFFIXES bin
        DOC "Sphinx documentation generator"
6
7
8
9
10
)

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(Sphinx DEFAULT_MSG
11
        SPHINX_EXECUTABLE
12
13
14
)

mark_as_advanced(SPHINX_EXECUTABLE)