Skip to content

Commit

Permalink
Added FindSphinx cmake module.
Browse files Browse the repository at this point in the history
  • Loading branch information
joakim-hove committed Nov 11, 2016
1 parent 4c15043 commit a7cdf0f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmake/Modules/FindSphinx.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
find_program(SPHINX_EXECUTABLE NAMES sphinx-build
HINTS
$ENV{SPHINX_DIR}
PATH_SUFFIXES bin
DOC "Sphinx documentation generator"
)

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(Sphinx DEFAULT_MSG
SPHINX_EXECUTABLE
)

mark_as_advanced(SPHINX_EXECUTABLE)

0 comments on commit a7cdf0f

Please sign in to comment.