2020-03-09 18:55:41 +01:00
|
|
|
# Look for an executable called sphinx-build
|
2022-04-02 18:58:23 +02:00
|
|
|
find_program(SPHINX_EXECUTABLE NAMES sphinx-build DOC "Path to sphinx-build executable")
|
2022-03-18 14:34:59 +01:00
|
|
|
|
2020-03-09 18:55:41 +01:00
|
|
|
include(FindPackageHandleStandardArgs)
|
2022-03-18 14:34:59 +01:00
|
|
|
|
2020-03-09 18:55:41 +01:00
|
|
|
# Handle standard arguments to find_package like REQUIRED and QUIET
|
2022-04-02 18:58:23 +02:00
|
|
|
find_package_handle_standard_args(Sphinx "Failed to find sphinx-build executable" SPHINX_EXECUTABLE)
|