Skip to content

Commit

Permalink
install html file is exists
Browse files Browse the repository at this point in the history
  • Loading branch information
rkanavath committed Jan 13, 2020
1 parent 82e9a20 commit 9e83f6f
Show file tree
Hide file tree
Showing 2 changed files with 6,101 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/modules/build_docs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function(build_docs target_name)

if(EXISTS ${html_file})
set(HTML_FILE ${html_file})
install(FILES ${GISBASE}/docs/html/${G_HTML_FILE_NAME} DESTINATION docs/html)
else()
file(GLOB html_files ${G_SRC_DIR}/*.html)
if(html_files)
Expand All @@ -36,5 +37,5 @@ function(build_docs target_name)

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

install(FILES ${GISBASE}/docs/html/${G_HTML_FILE_NAME} DESTINATION docs/html)

endfunction()
Loading

0 comments on commit 9e83f6f

Please sign in to comment.