summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-01 14:44:41 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-01 14:44:41 -0700
commitc6799c5fbec9a276bc6dafd837d7b0e808699c9a (patch)
tree7206e2bfe7c9db9b8e40f6e173f3fc7a793c3858 /cmake
parent1e016375166a23e259abd34a0c30cdbf5c3d119b (diff)
parente95ecfc467997f831a664342acda5f911e43379f (diff)
Merge pull request #220 from fhahn/sphinx-docs
Documentation using sphinx
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindSphinx.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmake/FindSphinx.cmake b/cmake/FindSphinx.cmake
new file mode 100644
index 00000000..833bfd4d
--- /dev/null
+++ b/cmake/FindSphinx.cmake
@@ -0,0 +1,16 @@
1find_program(SPHINX_EXECUTABLE NAMES sphinx-build
2 HINTS
3 $ENV{SPHINX_DIR}
4 PATH_SUFFIXES bin
5 DOC "Sphinx documentation generator"
6)
7
8include(FindPackageHandleStandardArgs)
9
10find_package_handle_standard_args(Sphinx DEFAULT_MSG
11 SPHINX_EXECUTABLE
12)
13
14mark_as_advanced(
15 SPHINX_EXECUTABLE
16)