Skip to content

Commit 9e83f6f

Browse files
committed
install html file is exists
1 parent 82e9a20 commit 9e83f6f

File tree

2 files changed

+6101
-1
lines changed

2 files changed

+6101
-1
lines changed

cmake/modules/build_docs.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function(build_docs target_name)
1313

1414
if(EXISTS ${html_file})
1515
set(HTML_FILE ${html_file})
16+
install(FILES ${GISBASE}/docs/html/${G_HTML_FILE_NAME} DESTINATION docs/html)
1617
else()
1718
file(GLOB html_files ${G_SRC_DIR}/*.html)
1819
if(html_files)
@@ -36,5 +37,5 @@ function(build_docs target_name)
3637

3738
#add_custom_target(${target_name}_html ALL DEPENDS ${G_RUNTIME_OUTPUT_DIR}/${target_name}.exe)
3839

39-
install(FILES ${GISBASE}/docs/html/${G_HTML_FILE_NAME} DESTINATION docs/html)
40+
4041
endfunction()

0 commit comments

Comments
 (0)