From: sbh Date: Fri, 6 Feb 2015 15:11:34 +0000 (+0300) Subject: Fix for INSTAL_DOCS target in VS/Release mode X-Git-Tag: V_1.1.0~214 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59a0d96084c28da270401a888cbff6318a69f766;p=modules%2Fshaper.git Fix for INSTAL_DOCS target in VS/Release mode --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index bf800edda..c5d19b119 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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)