From: bruneton Date: Tue, 30 Jul 2013 09:20:29 +0000 (+0000) Subject: CMake: Sphinx: simplifying Win32 command X-Git-Tag: begin_agr_portmanager_branch_131004~70 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ed27bb6b3a18d7554fa762bcbfc74d6018843a4;p=modules%2Fkernel.git CMake: Sphinx: simplifying Win32 command --- diff --git a/salome_adm/cmake_files/FindSalomeSphinx.cmake b/salome_adm/cmake_files/FindSalomeSphinx.cmake index c9b467066..2d26445a9 100644 --- a/salome_adm/cmake_files/FindSalomeSphinx.cmake +++ b/salome_adm/cmake_files/FindSalomeSphinx.cmake @@ -38,7 +38,7 @@ SET(DOCUTILS_ROOT_DIR "$ENV{DOCUTILS_ROOT_DIR}" CACHE PATH "Path to the Setuptoo # Ensure the command is run with the given PYTHONPATH IF(WIN32 AND NOT CYGWIN) MESSAGE(WARNING "Sphinx windows command not re-tested.") - SET(SPHINX_EXECUTABLE set PYTHONPATH="${SPHINX_PYTHONPATH};%PYTHONPATH%" && ${SPHINX_EXECUTABLE}) + SET(SPHINX_EXECUTABLE ${SPHINX_EXECUTABLE}) ELSE() SET(SPHINX_EXECUTABLE /usr/bin/env PYTHONPATH="${SPHINX_PYTHONPATH}:$$PYTHONPATH" ${SPHINX_EXECUTABLE}) ENDIF()