blob: f107f593ca4c4626ed388d4b2e1cbbea1258fc36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
Prior to 3.12 cmake silently created an empty destination directory if the origin of the copy_directory does not exist.
--- CMake/ParaViewMacros.cmake.orig 2018-07-20 20:59:05 UTC
+++ CMake/ParaViewMacros.cmake
@@ -382,6 +382,7 @@ function(build_help_project name)
set (copy_directory_command
# copy all htmls from source to destination directory (same location where the
# qhp file is present.
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${arg_DOCUMENTATION_SOURCE_DIR}"
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${arg_DOCUMENTATION_SOURCE_DIR}"
"${arg_DESTINATION_DIRECTORY}"
|