sphinx: make python documentation generation use sphinx
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
14
cmake/modules/FindSphinx.cmake
Normal file
14
cmake/modules/FindSphinx.cmake
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user