skullc-peripherals/cmake/FindSphinx.cmake
erki f64a92aa5c
All checks were successful
CI & Unit Tests / Unit-Tests (push) Successful in 1m9s
CI & Unit Tests / Docs (push) Successful in 1m27s
Documentation engine support (#3)
Now I wonder if we'll ever use it.

Co-authored-by: erki <skull132@skullnet.me>
Reviewed-on: #3
2023-12-30 17:34:59 +00:00

12 lines
374 B
CMake

#Look for an executable called sphinx-build
find_program(SPHINX_EXECUTABLE
NAMES sphinx-build
DOC "Path to sphinx-build executable")
include(FindPackageHandleStandardArgs)
#Handle standard arguments to find_package like REQUIRED and QUIET
find_package_handle_standard_args(Sphinx
"Failed to find sphinx-build executable"
SPHINX_EXECUTABLE)