diff options
author | louiz’ <louiz@louiz.org> | 2018-09-22 16:59:13 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-09-22 16:59:13 +0200 |
commit | 1a194a292e12c1f752afabe5a0bdc3b76706ee06 (patch) | |
tree | 6ac6ac68c285cc966350a85917143842ec4bb335 /cmake/Modules/FindSPHINX.cmake | |
parent | bf97478b89b24bbf3a6a92c9137041cf2e987f02 (diff) | |
download | biboumi-1a194a292e12c1f752afabe5a0bdc3b76706ee06.tar.gz biboumi-1a194a292e12c1f752afabe5a0bdc3b76706ee06.tar.bz2 biboumi-1a194a292e12c1f752afabe5a0bdc3b76706ee06.tar.xz biboumi-1a194a292e12c1f752afabe5a0bdc3b76706ee06.zip |
Diffstat (limited to 'cmake/Modules/FindSPHINX.cmake')
-rw-r--r-- | cmake/Modules/FindSPHINX.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/Modules/FindSPHINX.cmake b/cmake/Modules/FindSPHINX.cmake new file mode 100644 index 0000000..c39b827 --- /dev/null +++ b/cmake/Modules/FindSPHINX.cmake @@ -0,0 +1,12 @@ +find_program(SPHINX_BIN + NAMES sphinx-build + HINTS $ENV{SPHINX_DIR} + PATH_SUFFIXES bin + DOC "Sphinx executable to build the documentation" +) + +include(FindPackageHandleStandardArgs) + +find_package_handle_standard_args(SPHINX REQUIRED_VARS SPHINX_BIN) + +mark_as_advanced(SPHINX_EXECUTABLE) |