Commit 8d593718 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Merge branch 'upstream-enet' into fix-cmake-module-path-mangle

# By enet Upstream
* upstream-enet:
  enet 2022-03-29 (8ed57f90)
parents d23f1466 4af06bc3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -183,7 +183,10 @@ install(EXPORT enet-targets NAMESPACE enet::

# Build documentation
find_package(Doxygen)
if(Doxygen_FOUND)
cmake_dependent_option(BUILD_DOCS
  "Build documentation." OFF 
  "Doxygen_FOUND" OFF)
if(BUILD_DOCS)
  doxygen_add_docs(enet_docs "${CMAKE_CURRENT_SOURCE_DIR}" ALL)
  install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" DESTINATION "${CMAKE_INSTALL_DOCDIR}" COMPONENT ${ENET_DOC_COMPONENT})
endif()