Skip to content

Instantly share code, notes, and snippets.

@apathyboy
Created November 25, 2013 04:50
Show Gist options
  • Select an option

  • Save apathyboy/7636542 to your computer and use it in GitHub Desktop.

Select an option

Save apathyboy/7636542 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment