From 9690cd396b990eebbf7a1ebe7ff9839cdd1c2fe4 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 26 May 2010 08:42:33 +0000 Subject: [PATCH] always create /doc/html to avoid CMake 2.4 error messages --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index f96793f66..6dadcc62c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -156,7 +156,7 @@ set(HTML_TARGET "DOXY_HTML" ) add_custom_target(${HTML_TARGET} ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ${doxy_html_dep_list}) - +exec_program(mkdir ARGS "-p \"${CMAKE_CURRENT_BINARY_DIR}/html/\"") install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" DESTINATION "${OPENCV_DOC_INSTALL_PATH}/html" COMPONENT main) endif()