]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Build html_docs (Sphinx) with CMake
authorvsr <vsr@opencascade.com>
Thu, 1 Nov 2012 10:57:20 +0000 (10:57 +0000)
committervsr <vsr@opencascade.com>
Thu, 1 Nov 2012 10:57:20 +0000 (10:57 +0000)
doc/docutils/CMakeLists.txt

index 1aeff9eb33ce14cbde4abd1b55f04e58ed5ab30b..71b6d67fbc1bcef09e024ee7338b714b1a3e724c 100755 (executable)
@@ -37,7 +37,7 @@ SET(ALLSPHINXOPTS
 SALOME_CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" "${CMAKE_CURRENT_BINARY_DIR}/conf.py")                
 
 IF(WINDOWS)
-  SET(SCR "@SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}\\lib\\python2.6\\site-packages\\salome\;%PYTHONPATH%
+  STRING(REPLACE "/" "\\" SCR "@SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}\\lib\\python2.6\\site-packages\\salome\;%PYTHONPATH%
   @SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}\\bin\\salome\;%PYTHONPATH%
   @SET PATH=${CMAKE_INSTALL_PREFIX}\\lib\\salome\;%PATH%
   @SET PYTHONPATH=${OMNIORB_ROOT_USER}\\lib\\x86_win32\;%PYTHONPATH%