From 59a0d96084c28da270401a888cbff6318a69f766 Mon Sep 17 00:00:00 2001 From: sbh Date: Fri, 6 Feb 2015 18:11:34 +0300 Subject: [PATCH] Fix for INSTAL_DOCS target in VS/Release mode --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2