]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Using CMAKE_BINARY_DIR because of CMAKE_CACHEFILE_DIR is empty here.
authorakl <akl@opencascade.com>
Thu, 14 Feb 2013 08:48:24 +0000 (08:48 +0000)
committerakl <akl@opencascade.com>
Thu, 14 Feb 2013 08:48:24 +0000 (08:48 +0000)
doc/docutils/CMakeLists.txt
doc/salome/gui/CMakeLists.txt

index f375abfc4db581447613e60108f8e3bbcd27f79f..5cda4c65c9c84e41e887ed15c350fb6dac2f98f0 100755 (executable)
@@ -65,6 +65,6 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} "${SCR}")
 ADD_CUSTOM_TARGET(html_docs ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINX_EXECUTABLE} -c ${CMAKE_BINARY_DIR}/doc/docutils -b html ${ALLSPHINXOPTS} docutils
 )
 
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_CACHEFILE_DIR} --target html_docs)")
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_BINARY_DIR} --target html_docs)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils DESTINATION share/doc/salome/tui/KERNEL)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/doc/salome/tui/images/head.png DESTINATION share/doc/salome/tui/KERNEL) 
index 8292cd85d74e69537c02a6b1cc7043d55fa97fa2..0acbbe833ab905ae2a8837561d9543c34620b002 100755 (executable)
@@ -31,6 +31,6 @@ ADD_CUSTOM_TARGET(usr_docs ${DOXYGEN_EXECUTABLE})
 
 ADD_DEPENDENCIES(usr_docs html_docs)
 
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_CACHEFILE_DIR} --target usr_docs)")
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_BINARY_DIR} --target usr_docs)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/KERNEL DESTINATION share/doc/salome/gui)
 INSTALL(FILES images/head.png DESTINATION share/doc/salome/gui/KERNEL)