Module: kamailio
Branch: master
Commit: 763d3622fdb2cdd7916963b6d3f4d532525a5fcc
URL: 
https://github.com/kamailio/kamailio/commit/763d3622fdb2cdd7916963b6d3f4d532525a5fcc

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@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/763d3622fdb2cdd7916963b6d3f4d532525a5fcc.diff
Patch: 
https://github.com/kamailio/kamailio/commit/763d3622fdb2cdd7916963b6d3f4d532525a5fcc.patch

---

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()
 

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to