diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-01 14:44:41 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-01 14:44:41 -0700 |
commit | c6799c5fbec9a276bc6dafd837d7b0e808699c9a (patch) | |
tree | 7206e2bfe7c9db9b8e40f6e173f3fc7a793c3858 /cmake | |
parent | 1e016375166a23e259abd34a0c30cdbf5c3d119b (diff) | |
parent | e95ecfc467997f831a664342acda5f911e43379f (diff) |
Merge pull request #220 from fhahn/sphinx-docs
Documentation using sphinx
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindSphinx.cmake | 16 |
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 @@ | |||
1 | find_program(SPHINX_EXECUTABLE NAMES sphinx-build | ||
2 | HINTS | ||
3 | $ENV{SPHINX_DIR} | ||
4 | PATH_SUFFIXES bin | ||
5 | DOC "Sphinx documentation generator" | ||
6 | ) | ||
7 | |||
8 | include(FindPackageHandleStandardArgs) | ||
9 | |||
10 | find_package_handle_standard_args(Sphinx DEFAULT_MSG | ||
11 | SPHINX_EXECUTABLE | ||
12 | ) | ||
13 | |||
14 | mark_as_advanced( | ||
15 | SPHINX_EXECUTABLE | ||
16 | ) | ||