]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for INSTAL_DOCS target in VS/Release mode
authorsbh <sergey.belash@opencascade.com>
Fri, 6 Feb 2015 15:11:34 +0000 (18:11 +0300)
committersbh <sergey.belash@opencascade.com>
Fri, 6 Feb 2015 15:11:34 +0000 (18:11 +0300)
doc/CMakeLists.txt

index bf800eddae9ee46bb395c72f13549b7df153d7c7..c5d19b119c579d60ca232d9a2a2fb57574dea18e 100644 (file)
@@ -12,7 +12,7 @@ CONFIGURE_FILE(doxyfile.in
 
 ADD_CUSTOM_TARGET(INSTALL_DOCS
     COMMAND "${DOXYGEN_EXECUTABLE}"
-    COMMAND "${CMAKE_COMMAND}" --build "${PROJECT_BINARY_DIR}" --target install
+    COMMAND "${CMAKE_COMMAND}" --build "${PROJECT_BINARY_DIR}" --target install --config ${CMAKE_BUILD_TYPE}
     WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/doc"
 )
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tui DESTINATION doc OPTIONAL)