From: rnv Date: Thu, 14 Dec 2017 14:10:50 +0000 (+0300) Subject: Add sphinx-intl tool X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cc2c8c46cdfc71b29d5ce0a7e4a655c60975f015;p=tools%2Fconfiguration.git Add sphinx-intl tool --- diff --git a/cmake/FindSphinx.cmake b/cmake/FindSphinx.cmake index 9914763..9da27ef 100644 --- a/cmake/FindSphinx.cmake +++ b/cmake/FindSphinx.cmake @@ -33,6 +33,10 @@ FIND_PROGRAM(SPHINX_EXECUTABLE FIND_PROGRAM(SPHINX_APIDOC_EXECUTABLE NAMES sphinx-apidoc sphinx-apidoc-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} PATH_SUFFIXES Scripts) +FIND_PROGRAM(SPHINX_INTL_EXECUTABLE + NAMES sphinx-intl sphinx-intl-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} + PATH_SUFFIXES Scripts) + # Get root dir locally, going up two levels from the exec: GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${SPHINX_EXECUTABLE}" PATH)