]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: Sphinx: simplifying Win32 command
authorbruneton <bruneton>
Tue, 30 Jul 2013 09:20:29 +0000 (09:20 +0000)
committerbruneton <bruneton>
Tue, 30 Jul 2013 09:20:29 +0000 (09:20 +0000)
salome_adm/cmake_files/FindSalomeSphinx.cmake

index c9b467066486b5435efad11f338ec05090e5cdee..2d26445a94049cc50a1be995b63b97d1a18ea949 100644 (file)
@@ -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()