view cmake/FindSphinx.cmake @ 997:405c97ca4ab0

Save installation success independet of state. This fixes a bug that you can have a new list available but currently a transfer error. Now the actual saving / removal of the old list is only dependent on the list that is available in the settings.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 01 Sep 2014 16:18:10 +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/