view cmake/FindSphinx.cmake @ 944:76c410aff382

Fix two "memory leaks" Not really a leak as they are part of main and thus only executed once but this makes memory analysis easier.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 26 Aug 2014 17:03:03 +0200
parents af27328bea9d
children a974b61a5cce
line wrap: on
line source
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)

http://wald.intevation.org/projects/trustbridge/