Module: kamailio Branch: master Commit: 763d3622fdb2cdd7916963b6d3f4d532525a5fcc URL: https://github.com/kamailio/kamailio/commit/763d3622fdb2cdd7916963b6d3f4d532...
Author: Xenofon Karamanos xk@gilawa.com Committer: Xenofon Karamanos xk@gilawa.com Date: 2024-12-17T13:31:59Z
cmake: Make docs install optional
---
Modified: cmake/modules-docs.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/763d3622fdb2cdd7916963b6d3f4d532... Patch: https://github.com/kamailio/kamailio/commit/763d3622fdb2cdd7916963b6d3f4d532...
---
diff --git a/cmake/modules-docs.cmake b/cmake/modules-docs.cmake index f4ac35d3ba6..53beeae6fb9 100644 --- a/cmake/modules-docs.cmake +++ b/cmake/modules-docs.cmake @@ -140,6 +140,9 @@ else() RENAME README.${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_DOCDIR}/modules COMPONENT kamailio_docs + # Since the depepndencies might not have been build as they are not in the default target + # and required to build explicitly using `make kamailio_docs`, allow them to be optional. + OPTIONAL ) endif()