diff options
Diffstat (limited to 'cmake/Modules/FindSphinx.cmake')
-rw-r--r-- | cmake/Modules/FindSphinx.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake/Modules/FindSphinx.cmake b/cmake/Modules/FindSphinx.cmake new file mode 100644 index 000000000..ec03cdefa --- /dev/null +++ b/cmake/Modules/FindSphinx.cmake @@ -0,0 +1,13 @@ +find_program(SPHINX_EXECUTABLE + NAMES sphinx-build + PATHS /bin + DOC "Sphinx documentation generator" +) + +include(FindPackageHandleStandardArgs) + +find_package_handle_standard_args(Sphinx DEFAULT_MSG + SPHINX_EXECUTABLE +) + +mark_as_advanced(SPHINX_EXECUTABLE) |